-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.py
More file actions
30 lines (25 loc) · 665 Bytes
/
Copy pathlog.py
File metadata and controls
30 lines (25 loc) · 665 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
29
30
import water as wt
import calories as cal
import exercise as ex
def log():
while(True):
print("Menu: ")
print("0. Exit")
print("00. Go back")
print("1. Water tracker")
print("2. Calories tracker")
print("3. Exercise tracker")
choice = (input("Enter choice: "))
if(choice == '0'):
print("Exiting...")
exit(0)
elif choice == '00':
break
elif(choice == '1'):
wt.main()
elif(choice == '2'):
cal.calorie()
elif(choice == '3'):
ex.main()
else:
print("Invalid Input")