Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def menu():
- user_input = input(USER_CHOICE)
- while user_input != 'q':
- if user_input == 'a':
- promot_add_books()
- elif user_input == 'r':
- promot_read_book()
- elif user_input == 'd':
- prompt_delete_book()
- elif user_input == 'l':
- list_books()
- else:
- print('Unknonw command please try again later')
- user_input = input(USER_CHOICE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement