From 823e728a8d31867b20ebafe3c058d2da75dafe16 Mon Sep 17 00:00:00 2001 From: mollusk Date: Tue, 17 Aug 2021 04:27:31 -0700 Subject: [PATCH] New Script: insanity.py --- insanity.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 insanity.py diff --git a/insanity.py b/insanity.py new file mode 100755 index 0000000..aaa319b --- /dev/null +++ b/insanity.py @@ -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) +