Home ยป Programming Language (coding) ยป Python MCQ ยป Study the following program:

Study the following program:

Study the following program:

i = 1: 
while True: 
      if i%3 == 0: 
          break 
      print(i)

A. 1 2 3

B. 3 2 1

C. 1 2

D. Invalid syntax

1 Answer

Correct Answer: Option D. Invalid syntax

Take Part in Discussion:

Your email address will not be published.

Solve : *
20 − 2 =