-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.py
39 lines (26 loc) · 771 Bytes
/
menu.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
def main_menu():
print("\n Please select a character.")
print(" 1. Donkey Kong")
print(" 2. Diddy Kong")
print(" 3. Dixie Kong")
print(" 4. Cranky Kong")
print(" 5. Funky Kong")
answer = input("\n > ").lower()
if answer == "1":
print("\n You are Donkey Kong")
main_menu()
elif answer == "2":
print("\n You are Diddy Kong")
main_menu()
elif answer == "3":
print("\n You are Dixie Kong")
main_menu()
elif answer == "4":
print("\n You are Cranky Kong")
main_menu()
elif answer == "5":
print("\n You are Funky Kong")
main_menu()
else:
print("INVALID SELECTION!")
main_menu()