19 lines
348 B
Python
Executable file
19 lines
348 B
Python
Executable file
#! /usr/bin/env python3
|
|
|
|
import random
|
|
|
|
def getAwnser():
|
|
r = random.randint(0, 8)
|
|
messages = ['It is certain',
|
|
'It is decidedly so',
|
|
'Yes',
|
|
'Reply hazy, try again',
|
|
'Ask again later',
|
|
'My reply is no',
|
|
'Outlook not so good',
|
|
'Very doubtful' ]
|
|
return messages[r]
|
|
|
|
for i in range(0,10):
|
|
print(getAwnser())
|