Vidyalelo
Python · Q87

Python Loops and Conditionals: MCQs for Exam Readiness

Programming · Python · question 87

Q87

What will be the output of the following Python code? i = 1 while True: if i%3 == 0: break print(i) i + = 1

A.
1 2
B.
1 2 3
C.
error
Answer
D.
none of the mentioned

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board