elena_gancedo

this_that-other

Jun 21st, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.50 KB | None | 0 0
  1. phrase1 = input("-Talk to me. ")
  2. if phrase1 == "hi" or phrase1 == "hey":
  3.     print("-Hello")
  4. phrase2 = input("-What is the weather today? ")
  5. if phrase2 != "I don't know":
  6.     print("-Oh! " + phrase2)
  7. phrase3 = input("-What is your name? ")
  8. if phrase3 != "nothing" or phrase3 != "Elena":
  9.     print("-Nice to meet you " +phrase3)
  10. elif phrase2 == "-What is your job? ":
  11.     print("-It is very interesting " +phrase3)
  12. else:
  13.     print("-Sorry I don't understand " + phrase2)
  14. print("-Bye bye " + phrase2)
Add Comment
Please, Sign In to add comment