-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmadlib.py
More file actions
20 lines (12 loc) · 792 Bytes
/
madlib.py
File metadata and controls
20 lines (12 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
color = raw_input("Color: ")
superlative = raw_input("Superlative, ending in 'est': ")
adjective1 = raw_input("Adjective: ")
bodyPartPlural = raw_input("Body part (plural): ")
bodyPart = raw_input("Body part: ")
noun1 = raw_input("Noun: ")
animalPlural = raw_input("Animal (plural): ")
adjective2 = raw_input("Adjective: ")
adjective3 = raw_input("Adjective: ")
adjective4 = raw_input("Adjective: ")
madLib = "The " + color + "Dragon is the " + superlative + "Dragon of all. It has " + adjective1 + bodyPartPlural + "and a " + bodyPart + "shaped like a " + noun1 + ". It loves to eat " + animalPlural + ", although it will feast on nearly anything. It is " + adjective2 + "and " + adjective3 + ". You must be " + adjective4 + " around it, or you may end up as it`s meal!"
print madLib