Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase1 = input("Talk to me. ")
- if phrase1 == "Hi":
- print("Hello")
- phrase2 = input("What is your name? ")
- if phrase2 == "Elena":
- print("Nice to meet you " + phrase2)
- elif phrase2 == "what are you":
- print("sorry I don't understand " + phrase2)
- else:
- print("sorry I don't understand " + phrase2)
- print("bye")
Add Comment
Please, Sign In to add comment