Python Project: Mad Libs

This program does
the following:

You’ll be able to create your own story. It’s time to begin!

Author: Libi

print “Mad Libs is starting!”

name = raw_input(“Enter a name: “)

first_adj = raw_input(“Enter an adjective: “)
second_adj = raw_input(“Enter a second adjective: “)
third_adj = raw_input(“Enter one more adjective: “)

first_verb = raw_input(“Enter a verb: “)
second_verb = raw_input(“Enter a second verb: “)
third_verb = raw_input(“Enter on last verb: “)

first_noun = raw_input(“Enter a noun: “)
second_noun = raw_input(“Enter a second noun: “)
third_noun = raw_input(“Enter another noun: “)
fourth_noun = raw_input(“Enter one more noun: “)

animal = raw_input(“Enter an animal: “)
food = raw_input(“Enter a food: “)
fruit = raw_input(“Enter a fruit: “)
number = raw_input(“Enter a number: “)
superhero = raw_input(“Enter a superhero name: “)
country = raw_input(“Enter a country: “)
dessert = raw_input(“Enter a dessert: “)
year = raw_input(“Enter a year: “)

#The template for the story
STORY = “This morning I woke up and felt %s because %s was going to finally %s over the big %s %s. On the other side of the %s were many %ss protesting to keep %s in stores. The crowd began to %s to the rythym of the %s, which made all of the %ss very %s. %s tried to %s into the sewers and found %s rats. Needing help, %s quickly called %s. %s appeared and saved %s by flying to %s and dropping %s into a puddle of %s. %s then fell asleep and woke up in the year %s, in a world where %ss ruled the world.”

print STORY % (first_adj, name, first_verb,
second_adj, first_noun, second_noun, animal,
food, second_verb, third_noun, fruit, third_adj, name, third_verb, number, name,
superhero, superhero, name, country, name,
dessert, name, year, fourth_noun)

Above is the a program to make the game Mad Libs. The stories created will turn out funny. Beware. Screen Shot 2016-12-05 at 8.46.48 PM.pngScreen Shot 2016-12-05 at 12.29.01 PM.png