-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.py
More file actions
28 lines (27 loc) · 965 Bytes
/
Copy pathmenu.py
File metadata and controls
28 lines (27 loc) · 965 Bytes
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
program_running = True
while program_running:
print("1. this is for choice 1")
print("2. this is for choice 2")
print("3. this is for choice 3")
print("4. this is for choice 4")
print("5. this is for choice 5")
print("q. Quit")
print("="*25)
choice = input("Enter a choice: ")
if choice == "q":
break
if choice == "1":
print("I'm doing stuff for choice 1")
any_key = input("Press enter to continue...")
elif choice == "2":
print("I'm doing stuff for choice 2")
any_key = input("Press enter to continue...")
elif choice == "3":
print("I'm doing stuff for choice 3")
any_key = input("Press enter to continue...")
elif choice == "4":
print("I'm doing stuff for choice 4")
any_key = input("Press enter to continue...")
elif choice == "5":
print("I'm doing stuff for choice 5")
any_key = input("Press enter to continue...")