Q.

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

A. 0 1 2 3 0
B. 0 1 2 0
C. 0 1 2
D. Error
Answer» B. 0 1 2 0
2.8k
0
Do you find this helpful?
1

View all MCQs in

Python Programming

Discussion

No comments yet