Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase = input("Talk to mr >")
- if phrase == "hi":
- print("hello")
- elif phrase == "what is your name":
- print("Nuras")
- elif phrase == "where are you from":
- print("Nepal")
- elif phrase == "what do you do":
- print("I am a computer learner")
- else:
- print("Sorry i dont understand")
- print("Bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement