elena_gancedo

Challenge

Jun 18th, 2019
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. phrase1 = input("Talk to me. ")
  2. if phrase1 == "Hi":
  3.     print("Hello")
  4. phrase2 = input("What is your name? ")  
  5. if phrase2 == "Elena":
  6.     print("Nice to meet you " + phrase2)
  7. elif phrase2 == "what are you":
  8.     print("sorry I don't understand " + phrase2)
  9. else:
  10.     print("sorry I don't understand " + phrase2)
  11. print("bye")
Add Comment
Please, Sign In to add comment