Created
November 2, 2019 14:28
-
-
Save sojohnnysaid/a47a6316a0fa41a7d085fe0cb252cf21 to your computer and use it in GitHub Desktop.
Python integer overflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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