A

Admin • 828.70K Points
Coach

Q. Which of the following is the correct output of this program?

Code:
1. i = 1:
2. while True:
3. if i%3 == 0:
4. break
5. print(i)
  • (A) 1 2 3
  • (B) 3 2 1
  • (C) 1 2
  • (D) Invalid syntax
  • Correct Answer - Option(D)
  • Views: 13
  • 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.