Advertisement
HBSB

2.10 exercise

Jan 3rd, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. phrase = input("Time to look at golf open competitions")
  2. if phrase == "ok" or phrase == "good thinking":
  3.   print("Let's get started.")
  4. elif phrase == "What opens will we include?" or phrase == "How many opens this year":
  5.   print ("All the Devon clubs, all 47")
  6. else:
  7.   print("Sorry, I don't understand this.")
  8. print("OK, lets start.")
  9. phrase = input("Should we include golf&coffee events?")
  10. if phrase == ("not now"):
  11.   print ("Fine.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement