Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Python integer overflow
from time import sleep
# Iteratively triple i
i = 1
while True:
print(i)
i *= 3
sleep(1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment