forked from NBHS-STEM/library
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
27 lines (25 loc) · 625 Bytes
/
main.py
File metadata and controls
27 lines (25 loc) · 625 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
import library.sol as lib
# Main loop
while True:
print('=' * 21)
print('Library System')
print('=' * 21)
print('1. Add books to the library')
print('2. Check out a book')
print('3. Return a book')
print('4. View library status')
print('Q. Quit')
m = input('Select an option from above or enter Q to quit. ')
if m.upper() == 'Q':
break
# replace 'pass' with appropriate inputs and function calls.
elif m == '1':
pass
elif m == '2':
pass
elif m == '3':
pass
elif m == '4':
pass
else:
print('Invalid selection.')