πŸ“Š Python
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
πŸ’¬ Discuss
βœ… Correct Answer: (D) Invalid syntax

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
148
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
94%
Success Rate