Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- name = input("Enter your name ")
- print('Hello' '', '', name, '...')
- print("Are you doing ok" ", " + name + "?")
- response = input("")
- print(response + " indeed...," + " Cordially, thanks for sharing how you feel " + name + ".")
- friends = ["Tom", "Jack", "Harry"]
- print("Hey " + name + "," + " Do you know " + (random.choice(friends)) + "?")
- friend_response = input("")
- print("Ok mate, I'll log your response into my memory")
- foods = ["cheese", "cake", "cabbage", "yogurt", "chicken salad"]
- print("Hey, " + name + ", I wonder..., do you like " + (random.choice(foods)) + "?")
- foods_response = input("")
- print("Totally..., I couldn't agree more..., I can't eat food but if I could, it would probably be alfalfa.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement