Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |