-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpfm.py
More file actions
21 lines (21 loc) · 725 Bytes
/
pfm.py
File metadata and controls
21 lines (21 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import random
#Because we want to use the random number generator
def magic8Ball():
messages = ['It is certain',
'It is decidedly so',
'Yes definitely',
'Reply hazy try again',
'Ask again later',
'Concentrate and ask again',
'My reply is no',
'Outlook not so good',
'Very doubtful',
'Dont be such a wowzer']
#Messages from the magic 8 ball
print('Ask me anything.... I shall answer with unmatched certainty and clarity')
#Bald faced lie
litterallyNothing = input()
#Offer the illusion of interactivity
print(messages[random.randint(0, len(messages) - 1)])
#Here, have an answer. Palm reading sold seperately
magic8Ball()