summaryrefslogtreecommitdiff
path: root/comp/skeleton
diff options
context:
space:
mode:
Diffstat (limited to 'comp/skeleton')
-rw-r--r--comp/skeleton/skel.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/comp/skeleton/skel.py b/comp/skeleton/skel.py
index 75c4ef9..762a96f 100644
--- a/comp/skeleton/skel.py
+++ b/comp/skeleton/skel.py
@@ -35,6 +35,8 @@ def PlayGame(Targets, NumbersAllowed, TrainingGame, MaxTarget, MaxNumber):
while not GameOver:
DisplayState(Targets, NumbersAllowed, Score)
UserInput = input("Enter an expression: ").replace(' ', '')
+ if (UserInput == "QUIT"):
+ break
print()
if CheckIfUserInputValid(UserInput):
UserInputInRPN = ConvertToRPN(UserInput)