Advertisement
LHerr

elif practice

Feb 19th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. phrase = input("How are you feeling about taking your test today? a. Great b. Okay c. Not Good")
  2. if phrase == "a" or phrase == "Great":
  3. print ("That is wonderful! I am glad you feel ready!")
  4. elif phrase == "b" or phrase == "Okay":
  5. print ("I am sure you will do fine if you studied your review. Good luck!")
  6. elif phrase == "c" or phrase == "Not good":
  7. print ("I am sorry your are not feeling good about the test.")
  8. phrase2 = input("Is there a reason you are not feeling good about the test?")
  9. else:
  10. print ("I am sorry your answer did not match the choices")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement