naQonda

CBC Grade 9 Pre-Technical Studies End Term 2 Exam 2026 · Question 14

In Python programming, the correct syntax to print 'Hello World' is

From Test 4 — Pre-Technical Studies End Term 2 2026 · 1 mark · Topic: Computer Science, Programming

In Python programming, the correct syntax to print 'Hello World' is

  1. Aprint Hello World
  2. Bprint('Hello World')
  3. CPRINT 'Hello World'
  4. Decho Hello World

Answer

B. print('Hello World')

The correct option is B: print('Hello World')

Answer this test freeGet it marked: create a free account

More Grade 9 Pre-Technical Studies questions from this test