Advertisement
Guest User

Untitled

a guest
Feb 29th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. def menu():
  2. user_input = input(USER_CHOICE)
  3. while user_input != 'q':
  4. if user_input == 'a':
  5. promot_add_books()
  6. elif user_input == 'r':
  7. promot_read_book()
  8. elif user_input == 'd':
  9. prompt_delete_book()
  10. elif user_input == 'l':
  11. list_books()
  12. else:
  13. print('Unknonw command please try again later')
  14. user_input = input(USER_CHOICE)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement