Skip to content

Instantly share code, notes, and snippets.

@sojohnnysaid
Created November 2, 2019 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sojohnnysaid/a47a6316a0fa41a7d085fe0cb252cf21 to your computer and use it in GitHub Desktop.
Save sojohnnysaid/a47a6316a0fa41a7d085fe0cb252cf21 to your computer and use it in GitHub Desktop.
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