Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("1. Oranges")
- print("2. Apples")
- print("3. Lemons")
- print("4. Banana")
- fruit_choice = int(input("Input a corresponding number to choose a fruit "))
- if fruit_choice == 1:
- print("You choosed orange. Thank you!")
- else:
- if fruit_choice == 2:
- print("You choosed Apples. Thank you!")
- else:
- if fruit_choice == 3:
- print("You choosed lemons. Thank you!")
- else:
- if fruit_choice == 4:
- print("You choosed Banana. Thank you!")
- else:
- print("Invalid choice!\n Please Input a number that corresponds to a fruit!")
Add Comment
Please, Sign In to add comment