0 votes
in Python by
What is the output of the following program :

i = 0

  while i < 3:

     print i

     i += 1

  else:

     print 0

 

0 1 2 3 0

0 1 2 0  

0 1 2

 

Error

Related questions

+1 vote
asked Jan 19, 2021 in Python by SakshiSharma
+1 vote
asked Jan 19, 2021 in Python by SakshiSharma
...