Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase = input("Talk to me. > ")
- if phrase=="What's your name?" :
- print("I'm called Marvin.")
- phrase = input("Marvin, I want to learn python for programming. Will you help me? >" )
- if phrase == "Of course.":
- print("Thank you.")
- phrase = input("I've told you my name. Now please tell me yours? >")
- if phrase == "OK. I'm Lorna." :
- print ("Hi, Lorna. Pleased to meet you. I will help you all I can.")
- print("Thank you.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement