From ebe8ec6ca9a12b81893567dc38c817dd0adb2074 Mon Sep 17 00:00:00 2001 From: Sylvia Blaho Date: Tue, 16 Apr 2024 19:06:39 +0200 Subject: [PATCH] update code comments #8 #39 --- run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index 753cc4f..2e68f8d 100644 --- a/run.py +++ b/run.py @@ -90,7 +90,7 @@ def clear(): def welcome(): # get global variable global _planning - # ask user if they want to start planning, make input uppercase + # ask user if they want to start planning start = input(Back.MAGENTA + 'Would you like to plan a dinner party? (Y/N):' + Back.RESET @@ -98,7 +98,7 @@ def welcome(): # validating the input # while the input is not one of the allowed options while start not in {"Y", "N", "y", "n"}: - # ask for input again, make input uppercase + # ask for input again start = input(Back.RED + f'You typed "' + Fore.CYAN + start + Fore.RESET + f'" – I don\'t understand that 🤔 Please type Y or N:'