From c8d87ed3b033f5c2dd034330125ffa2755c2f2ff Mon Sep 17 00:00:00 2001 From: Muhammad-Shanif <72207345+Muhammad-Shanif@users.noreply.github.com> Date: Fri, 2 Oct 2020 21:45:05 +0530 Subject: [PATCH] Added an else statement to notify an invalid input --- 8balls-magic.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/8balls-magic.py b/8balls-magic.py index 956c2cc..9095b76 100644 --- a/8balls-magic.py +++ b/8balls-magic.py @@ -35,3 +35,6 @@ elif answers == 8: print "My sources say no" + + else : + print "Invalid Number"