-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathRUN_THIS_FIRST(INDEX).py
More file actions
33 lines (33 loc) · 1.08 KB
/
RUN_THIS_FIRST(INDEX).py
File metadata and controls
33 lines (33 loc) · 1.08 KB
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
import menu_functions
import sys
menu_choice=0
while menu_choice != 6:
print('-----------------------------')
print("|Enter 1 for medicine menu |")
print('----------------------------')
print('|Enter 2 for customer menu |')
print('----------------------------')
print('|Enter 3 for supplier menu |')
print('----------------------------')
print('|Enter 4 for report menu |')
print('----------------------------')
print('|Enter 5 for invoicing |')
print('----------------------------')
print('|Enter 6 to quit the program|')
print('-----------------------------')
menu_choice=int(input("Enter Your Choice\n"))
if menu_choice==1:
menu_functions.medicine_menu()
elif menu_choice==2:
menu_functions.customer_menu()
elif menu_choice==3:
menu_functions.supplier_menu()
elif menu_choice==4:
menu_functions.report_menu()
elif menu_choice==5:
menu_functions.invoicing_menu()
elif menu_choice==6:
break
else:
print("Invalid Input! Try Again! \n")
sys.exit()