Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- phrase = input ("talk to me >")
- if phrase == "hi" or phrase == "hey":
- print ("hello")
- elif phrase == "whats your name" or phrase == "what's your name":
- print ("Marvin")
- elif phrase == "I dont' want to talk" :
- print ("so answer me how old are you")
- else:
- print ("sorry, I don't understand")
- answer = input ("then I have some questions >")
- if answer == "ok" or phrase == "no problem":
- input ("how fast travel the light?>")
- if "how fast travel the light?" == "300 m/s":
- print ("right")
- print ("bye")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement