Skip to content

Commit 6af9513

Browse files
authored
Update ratatouille.py
1 parent b7849ca commit 6af9513

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed
+12-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#Ratatouille Madlib Game
22
def madlib():
3-
#Defining Blanks
3+
4+
#Defining Blanks to be filled by the user
5+
46
Adj1=input("Adjective = ")
57
Adj2=input("Adjective = ")
68
noun1=input("a place = ")
@@ -9,19 +11,19 @@ def madlib():
911
FamousPersonality1=input("FamousPersonality = ")
1012
FamousPersonality2=input("FamousPersonality = ")
1113

12-
print("The Ratatouille Template !")
14+
print("The Ratatouille Template !") #Heading of the story template
1315
print()
1416

1517
#MADLIB STORY
1618
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!"""
2426

2527

2628
print(madlib)
27-
print()
29+
print()

0 commit comments

Comments
 (0)