• Home
  • What is output of following code − num=3 while True: if (num%0o12 == 0): break print(num) print(num)
Question 1:
What is output of following code −
num=3
while True:
if (num%0o12 == 0):
break
print(num)
print(num)
A. 3 4 5 6 7 8 9 10 11 12
B. 3 4 5 6 7 8 9
C. 3 4 5 6 7 8 9 10 11
D. None of the above

These questions are from this test. Would you like to take a practice test?

Python Quiz 3 | Englishfreetest.com