Skip to content

Commit 09ffe95

Browse files
committed
Adding exeption in day 4 script
1 parent 8ef7161 commit 09ffe95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

100 Days of Code/4-day_rock-paper-scissors.py

+4
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@
6666
print("AI wins")
6767
elif aiChoice == scissors:
6868
print("Tie")
69+
70+
else:
71+
print("Invalid input")
72+
exit()

0 commit comments

Comments
 (0)