-
Notifications
You must be signed in to change notification settings - Fork 0
/
narwhals.py
42 lines (33 loc) · 1019 Bytes
/
narwhals.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
32
33
34
35
36
37
38
39
40
41
42
"""snocones"""
import colors as c
from utils import ask
intro = c.magenta + '''LETS TEST HOW FABILOOS U ARE, YYYYAAAAAAAYYYYY!!!''' + c.reset
def q1():
answer = ask(c.orange + 'What are the swaggiest animals ever?' + c.reset)
if answer =='narwhals':
print('so nice and purty')
return True
print('incorect :(======')
return False
def q2():
answer = ask(c.magenta + 'are narwhals swaggy?')
if answer == 'yes':
print('yes')
return True
print('u make me sad :(=======')
return False
def q3():
answer =ask(c.magenta + 'should narwhals be the dominant species of the world?')
if answer == 'yes':
print('yyyeeeeeaaaahhhh')
return True
print('eradicate from the world, }:(========')
return False
def q4():
answer =ask(c.magenta + 'what is the average life span of a narwhal in years?')
if answer == '25-30':
print('yes')
return True
print('no')
return False
questions = [q1,q2,q3,q4]