Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase = input("Greet me or ask my name>")
- if phrase == "hi":
- print("Hello, thanks for your greeting !!")
- elif phrase == "What's your name":
- print("Marvin, your bot")
- else:
- print("Sorry I don't understand this")
- print("Bye, Hasta luego")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement