New Script: insanity.py

This commit is contained in:
mollusk 2021-08-17 04:27:31 -07:00
parent 932ba2906c
commit 823e728a8d

21
insanity.py Executable file
View File

@ -0,0 +1,21 @@
#!/usr/bin/python
from time import sleep
timer = 0.000001
num = 100000 ** 1000
print(num)
while True:
# Even Number
if (num % 2) == 0:
num = num // 2
print(num)
sleep(timer)
else:
# Odd Number
num = num * 3 + 1
print(num)
sleep(timer)
if num == 1:
exit(0)