Home » Programming Language (coding) » Python MCQ

Python MCQ

Study the following program:

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

Answer & Solution:

Correct Option: Option D.

Answer: Invalid syntax

Discussion