forked from geekcomputers/Python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathex31.py
33 lines (26 loc) · 995 Bytes
/
ex31.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
#!/usr/bin/python
print "you enter a dark room with two doors, do you go through door #1 or door #2?"
door = raw_input("> ")
if door == "1":
print "there's a giant bear here eating cheese cake. what do you do?"
print "1. take the cake."
print "2. scream at the bear."
bear = raw_input("> ")
if bear=="1":
print "the bear eats your face off. good job!"
elif bear == "2":
print "the bear eats your legs off. good job!"
else:
print "well, doing %s is probably better. bear runs away." % bear
elif door == "2":
print "your stare into the endless abyss at cthulhu's retina."
print "1. blueberries."
print "2. yellow jacket clothespins."
print "3. understanding revolvers yelling melodies."
insanity = raw_input("> ")
if insanity == "1" or insanity == "2":
print "your body survives powered by a mind of jello. good job!"
else:
print "the insanity rots your eyes into a pool of muck. good job!"
else:
print "you sbumble around and fall on a knife and die. good job!"