aboutsummaryrefslogtreecommitdiffstats
path: root/ee2301
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ee2301/collatz.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ee2301/collatz.py b/ee2301/collatz.py
index acbc12e..2707b4e 100644
--- a/ee2301/collatz.py
+++ b/ee2301/collatz.py
@@ -17,6 +17,7 @@ def collatzConjecture(n):
#main
for i in range (1,2):
print("")
-
-collatzCount(100)
-
+try:
+ collatzCount(100)
+except AssertionError:
+ print("The Collatz Conjecture is false!")