From 4dacaef6db3daf9e855bc39b16674d74ebba5e90 Mon Sep 17 00:00:00 2001 From: beastelassi Date: Thu, 1 Oct 2020 12:48:14 +0100 Subject: [PATCH] added main py HELP THIS IS HARD --- main.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..20a6c22 --- /dev/null +++ b/main.py @@ -0,0 +1,29 @@ +''' + +sphinx story +is good + +''' + + +def start(): + loop = True + + while loop == True: + + + difficulty = input("Enter Difficulty:\nA = EASY\nB = MEDIUM\nC = HARD\n->") + if difficulty == "a" or difficulty == "A": + print("You have selected EASY") + loop = False + elif difficulty == "b" or difficulty == "B": + print("You have selected MEDIUM") + loop = False + elif difficulty == "c" or difficulty == "C": + print("You have selected HARD") + loop = False + else: + print("Please enter a valid option.") + +# Main block +start() \ No newline at end of file