Home » Programming Language (coding) » Python MCQs » What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)What will be the output of the following Python code? i = 0 while i < 3: print(i) i += 1 else: print(0)1 Comment Mr. Answer Study the following program: i = 0 while i < 3: print(i) i += 1 else: print(0) A. 0 1 B. 0 1 2 C. 0120 D. 0123 Correct Answer: Option C. 0 1 2 0 Discussion Board: Allu December 17, 2021 at 3:11 pm Reply What is theory of this question Take Part in Discussion: Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Comment * Save my name, email, and website in this browser for the next time I comment. Solve : * 27 − 14 =
What is theory of this question