1
1
#Ratatouille Madlib Game
2
2
def madlib ():
3
- #Defining Blanks
3
+
4
+ #Defining Blanks to be filled by the user
5
+
4
6
Adj1 = input ("Adjective = " )
5
7
Adj2 = input ("Adjective = " )
6
8
noun1 = input ("a place = " )
@@ -9,19 +11,19 @@ def madlib():
9
11
FamousPersonality1 = input ("FamousPersonality = " )
10
12
FamousPersonality2 = input ("FamousPersonality = " )
11
13
12
- print ("The Ratatouille Template !" )
14
+ print ("The Ratatouille Template !" ) #Heading of the story template
13
15
print ()
14
16
15
17
#MADLIB STORY
16
18
madlib = f"""Remy, the little chef rat swirled the spoon full of { Adj1 } spices into the pan on fire. Linguini saw this with his eyes
17
- wide open and jaw dropped as if he was seeing { FamousPersonality1 } { verb4 } . Meanwhile the customer who was { FamousPersonality2 }
18
- asked for the same dish the pan on fire was to serve. Without any further adieu the waiter served some of the delicacies from the pan
19
- into a plate to serve it the customer while linguini was busy coming out of the shock after what he saw and the rat was running his way
20
- down the streets of { noun1 } to save his life from ah! mankind and well the { Adj2 } head chef had already seen Linguini messing with the
21
- dish and so he rushed after the waiter { verb1 } over the counter to stop him from serving it to the customer as he feared what good
22
- can a garbage boy do to food but little did he knew that the little chef remy had already put all the magic the dish needed to savour
23
- its way down the customer's tastebuds!"""
19
+ wide open and jaw dropped as if he was seeing { FamousPersonality1 } { verb4 } . Meanwhile the customer who was { FamousPersonality2 }
20
+ asked for the same dish the pan on fire was to serve. Without any further adieu the waiter served some of the delicacies from the pan
21
+ into a plate to serve it the customer while linguini was busy coming out of the shock after what he saw and the rat was running his way
22
+ down the streets of { noun1 } to save his life from ah! mankind and well the { Adj2 } head chef had already seen Linguini messing with the
23
+ dish and so he rushed after the waiter { verb1 } over the counter to stop him from serving it to the customer as he feared what good
24
+ can a garbage boy do to food but little did he knew that the little chef remy had already put all the magic the dish needed to savour
25
+ its way down the customer's tastebuds!"""
24
26
25
27
26
28
print (madlib )
27
- print ()
29
+ print ()
0 commit comments