you can make the while loop end based on a condition being met... x = 0 while x < 3: print(x) x = x + 1 this loops 3 times hunkimtutorials
you can make the while loop end based on a condition being met... x = 0 while x < 3: print(x) x = x + 1 this loops 3 times
what is the alternative way of not using break statement ? johnnypark
what is the alternative way of not using break statement ?