---help in madlibs, keep on getting typeerror---


#1

link: https://www.codecademy.com/courses/learn-python/projects/madlibs

my code:

“”"
This program generates passages that are generated in mad-lib format
Author: Val
“”"

The template for the story

STORY = “This morning %s woke up feeling %s. ‘It is going to be a %s day!’ Outside, a bunch of $ss were protesting to keep %s in stores. They began to %s to the rhythm of the %s, which made all the %ss very %s. Concerned, %s texted %s, who flew %s to %s and dropped %s in a puddle of frozen %s. %s woke up in the year %s, in a world where %ss ruled the world.”
print “Mad Libs is on!”
name = raw_input(“What’s your name?”)
adjective1 = raw_input(“Give me an adjective!”)
adjective2 = raw_input(“Give me another adjective!”)
adjective3 = raw_input(“Give me one last adjective!”)
verb1 = raw_input(“A verb please?”)
noun1 = raw_input(“How about a noun?”)
noun2 = raw_input(“How about another noun?”)
animal = raw_input(“Give me an animal!”)
food = raw_input(“Give me a food of your choice!”)
fruit = raw_input(“How about a fruit?”)
superhero = raw_input(“Your favorite superhero?”)
country = raw_input(“Give me a country!”)
dessert = raw_input(“How about a dessert?”)
year1 = raw_input(“Your favorite year?”)

print STORY % (name, adjective1, adjective2, animal, food, verb1, noun1, fruit, adjective3, name, superhero, name, country, name, dessert, name, year1, noun2)


it works but it has a problem on the last line, it says it has a TypeError: not all arguments converted during ring formatting

please help ;(


#2

at top u have $s instead of %s after the word bunch.


#3

thank you!! it worked now :>