""" 【syntax】 while conditional expression --Repeat while the conditional expression is True """ i = 1 while i < 5: print (i,'th loop') i += 1
""" Watch out for indentation! i + = 1 was not recognized and was looping all the time. """
Recommended Posts