Mar-13-2018, 04:27 AM
while True:is another way of saying while forever.
It loops continuously until interrupted by a break, or exception
so for instance (for illustration only as this would be a dumb way to do this):
count = 0 while True: print(count) count += 1 if count >= 10: break