18 lines
352 B
Python
Executable file
18 lines
352 B
Python
Executable file
#! /usr/bin/env python3
|
|
|
|
import random
|
|
|
|
def getAwnser():
|
|
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[random.randint(0, len(messages)-1)]
|
|
|
|
for i in range(0,10):
|
|
print(getAwnser())
|