Last active
July 20, 2016 10:44
-
-
Save richardbwest/125ca09d999c6d6654a29dd400bac37a to your computer and use it in GitHub Desktop.
A python program to help you choose a breakfast.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
choice = input("What do you want to eat?") | |
if choice == "cereal"): | |
print("There's milk in the fridge!") | |
print("We only have corn flakes.") | |
elif choice in ["tea","coffee"]: | |
print("You can't just have a drink!") | |
elif choice == "full english": | |
print("Ahh, my favourite!") | |
else: | |
print("We don't have that, sorry.") | |
print("Goodbye from me!") | |
#line 11 left blank for readability :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment