0
Can anyone help me to explain :while True loop.In a word infinite loop?
5 Réponses
+ 1
If your condition in while loop is evaluated as TRUE, it will keep running until the condition changes to false. But if you define that the condition will be always TRUE, then the script will run forever.
0
If I didn't explain well, please write me a message
0
i=1
while i<=5:
print (i)
i+=1
if I==3:
print ("skipping 3")
continue
#please help me to understand this code in a easy way.can anyone help me there?