summaryrefslogtreecommitdiff
path: root/comp/skeleton
diff options
context:
space:
mode:
authorthing1 <thing1@seacrossedlovers.xyz>2025-03-23 18:47:33 +0000
committerthing1 <thing1@seacrossedlovers.xyz>2025-03-23 18:47:33 +0000
commit2e7c7b0c97500a772c93fab40652d0d99d03a424 (patch)
treedb9a77791c8ca29aab4b2b398e0d48d969aefb3d /comp/skeleton
parent01aa8af42ec80111aca755828d9bccf98a150b09 (diff)
alot of diagrams
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)