+ 1
break and continue while loop
float = 0 while True: float += 1 if float == 5: print('skipping 5') continue if float > 11: print('breaking') break guys i am getting error in this code. somebody help me. please????
2 Respuestas
+ 2
// There is not the errors in this code, you use "break" keyword to stop a loop and a "continue" keyword to continue the loop.
0
Thanks