I don’t undertstand how this is an infinite loop.
If count = 0, then the count is printed and incremented.
But then, count is not 0 anymore, so the while should stop… right?
Why does it continue until infinity, or in this case, the break? Can anyone explain?
count = 0 while True: print count count += 1 if count >= 10: break