Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Menu aide memoire application MAMA (Cheat sheet helper)
- def main_menu():
- print(
- """
- My Main Menu
- ============
- HC - Print Hello Colin
- B - Another option
- Q to Quit
- Built by Colin)
- """
- )
- main_menu()
- option = ""
- while option.upper() != "Q":
- option = input("Enter a menu option or Q to Quit >> ")
- if option.upper() == "HC":
- print("Howdy Colin")
- elif option.upper() == "Q":
- print("Quiting ... ")
- else:
- print("Invalid selection - try again")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement