A

Admin • 825.56K Points
Coach

Q. What is the output of the following program :
i = 0
while i < 3:
print i
print i+1

  • (A) 0 2 1 3 2 4
  • (B) 0 1 2 3 4 5
  • (C) 0 1 1 2 2 3
  • (D) 1 0 2 4 3 5
  • Correct Answer - Option(C)
  • Views: 6
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.