Question: I am encountering syntax errors when I try to run this program. # Please enter the following: # adjective: happy # animal: zebra # verb:

I am encountering syntax errors when I try to run this program.

# Please enter the following:

# adjective: happy # animal: zebra # verb: sneeze # exclamation: hooray # verb: read # verb: drive

# Your story is:

# The other day, I was really in trouble. It all started when I saw a very # happy zebra sneeze down the hallway. "Hooray!" I yelled. But all # I could think to do was to read over and over. Miraculously, # that caused it to stop, but not before it tried to drive # right in front of my family.

Print("Please enter the following")

adjective = inpu("happy") animal= input("zebra") verb= input("sneeze") exclamation = input("hooray") verb = input("read") verb = input("drive")

Print("The other day madlib")

story = "The other day, I was really in trouble. It all started when I saw a very" adjective + animal + verb1 + "down the hallway." + exclamation + "I yelled. But all" "I could think to do was to" + verb2 + "over and over. Miraculously" "that caused it to stop, but not before it tried to" + verb3 + drive + "right in front of my family. "

print(story)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!