Advertisement
bunny_________

Untitled

Aug 20th, 2019
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. usr_response = input("How are you today?").lower()
  2.  
  3. if "great" in usr_response:
  4. print("Ok, good")
  5.  
  6. elif "not good" in usr_response or "terrible" in usr_response or "bad" in usr_response or "unhappy" in usr_response or "not amazing" in usr_response:
  7. print("oh ok, can i help ya?")
  8.  
  9. elif "awsome" in usr_response or "fine" in usr_response or "ok" in usr_response or "meh" in usr_response or "good" in usr_response:
  10. print("ok, what ya up to?")
  11.  
  12. usr_response2 = input()
  13.  
  14. elif "not much" in usr_response2 or "nothing" in usr_response2 or "gaming" in usr_response2 or "playing games" in usr_response2 or "messaging" in usr_response2:
  15. print("ok, cool")
  16.  
  17. elif "yes" in usr_response2 or "course" in usr_response2 or "ja" in usr_response2 or "yeah" in usr_response2 or "of course" in usr_response2:
  18. print("Ill give ya the phone numbers to contact the helpline needed, childline: 0800 1111, SANEline: 0300 304 7000, NHS: 450 557 7104, Emergency services: 999")
  19.  
  20. elif "no" in usr_response2 or "not at all" in usr_response2 or "definatly not" in usr_response2 or "nah" in usr_response2 or "nope" in usr_response2:
  21. print("Thats great, have a great day!")
  22.  
  23. usr_response3 = input()
  24.  
  25. if "ty" in usr_response3 or "thanks" in usr_response3 or "thank you" in usr_response3 or "thx" in usr_response3 or "thxs" in usr_response:
  26. print("ur welcome, anyhting else?")
  27.  
  28. usr_response4 = input()
  29.  
  30. if "yes" in usr_response4 or "course" in usr_response4 or "ja" in usr_response4 or "yeah" in usr_response4 or "of course" in usr_response:
  31. print("sorry idk, maby you can look it up online?")
  32.  
  33. elif "no" in usr_response4 or "nope" in usr_response4 or "nah" in usr_response4 or "not at all" in usr_response4 or "definatly not" in usr_response:
  34. print("Have a great day!")
  35.  
  36. else:
  37. print("ummmmmmmmmmmm IDK, srry")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement