-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconversation.py
31 lines (23 loc) · 976 Bytes
/
conversation.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import random
import tts
def who_are_you():
message = ['I am Mustani, your lovely personal assistant.',
'Mustani, didnt I tell you before?',
'You ask that so many times! I am Mustani.']
tts(random.choice(messages))
def how_am_i():
replies =['You are goddamn handsome!', 'My knees go weak when I see you.',
'You are sexy!', 'You look like the kindest person that I have met.']
tts(random.choice(replies))
def tell_joke():
jokes = ['What happens to a frogs car when it breaks down? It gets toad away.',
'Why was six scared of seven? Because seven ate nine.', 'No, I always forget the punch line.']
tts(random.choice(jokes))
def who_am_i(name):
tts('You are ' + name + ', a brilliant person. I love you!')
def where_born():
tts('I was created by a magician, in India, the magical land of Himalayas.')
def how_are_you():
tts('I am fine, thank you.')
def undefined():
tts('I dont know what that means!')