What is wrong with this Python loop: n = 5 while n > 0 : print(n) print('All done')
Answers
Answered by
0
n = 5while n > 0 :print nprint 'All done'This loop will run foreverThere should be no colon on the while statementThe print 'All done' statement should be indented four spaceswhile is not a Python reserved word
Similar questions