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)
β
Correct Answer: (D)
Invalid syntax
1. i = 1: 2. while True: 3. if i%3 == 0: 4. break 5. print(i)
You must be Logged in to update hint/solution