Skip to content

Commit

Permalink
update code comments #8 #39
Browse files Browse the repository at this point in the history
  • Loading branch information
blahosyl committed Apr 16, 2024
1 parent 6490a7e commit ebe8ec6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ 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
+ " ")
# 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:'
Expand Down

0 comments on commit ebe8ec6

Please sign in to comment.