Geocrack

Fast food

Jun 19th, 2022 (edited)
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. print("hello")
  2.  
  3. def brgr():
  4.     print("burger")
  5.     print("----------------")
  6.     user_choice()
  7.    
  8. def frys():
  9.     print("fries")
  10.     print("----------------")
  11.     user_choice()
  12.      
  13. def user_choice():
  14.     print("A.burger","B.fries","\n input capital letter to choose")
  15.     choice = input(">").lower()
  16.     if choice == "a":
  17.         brgr()
  18.     elif choice == "b":
  19.         frys()
  20. user_choice()
  21.  
  22.  
  23.  
Add Comment
Please, Sign In to add comment