From 9699a3f91557d712df67239ba482ebd32a8604c3 Mon Sep 17 00:00:00 2001 From: log Date: Tue, 24 Jan 2023 15:57:43 +0100 Subject: [PATCH] updated with points --- states.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/states.py b/states.py index 45106e8..5efca8b 100644 --- a/states.py +++ b/states.py @@ -1,7 +1,7 @@ currentRoom = "aquarium" start = True graduation = False -study = False +study = 0 while True: if (start == True): @@ -25,7 +25,8 @@ while True: elif i in ["learn","study","read", "pain", "frustration", "fun"]: print("You have studied really hard. Noice") - study = True + study = study + 30 + print("your ECTS is " + str(study) + " points") # Choices in the neutral zone elif currentRoom == "neutralzone": @@ -57,8 +58,8 @@ while True: print("Leslie: Hiiiiiii student, how can I help you?") i = input() if i in ["graduate","finish","degree"]: - if study == True: + if study >= 119: print("no problem, here is your final degree. congratulations!") graduation = True else: - print("No way you are too stupid go to the aquarium and study") \ No newline at end of file + print("No way you only have " + str(study) + " ECTS points. go to the aquarium and study") \ No newline at end of file