39.7k views
4 votes
Using the print() function, output, "Let's play Silly Sentences!"

Using the input() function, prompt the user to, "Enter a name: ", then assign and store their response to a variable.
Repeat benchmark 2 for the other 8 inputs that we need from the user: adjective, adjective, adverb, food, food, noun, place, and verb.
Using a print() function, output, "[name] was planning a dream vacation to [place]." Replace [name] and [place] with the proper variables.
Repeat step 4 with the other 6 lines of output.
Double-check to make sure the output is formatted correctly - including spaces before and after variables and line spacing.
Run and test your program with the values from the Sample Run.
Debug and repeat step 7 as needed.

User Pilotcam
by
5.7k points

1 Answer

4 votes

Answer:

print("Let's play Silly Sentences!")

name = input("Enter a name: ")

adjective1 = input("Enter a adjective: ")

adjective2 = input("Enter a adj: ")

adverb = input("Enter a adverb: ")

food1 = input("Enter a food: ")

food2 = input("Enter another food: ")

noun = input("Enter a noun: ")

place = input("Enter a place: ")

verb = input("Enter a verb: ")

print( "\\" + name + " was planning a dream vacation to "+ place + "." )

print( name + " was especially looking forward to trying the local \\cuisine, including " + adjective1 + " " + food1 + " and " + food2 + ".")

print("\\" + name + " will have to practice the language " + adverb + " to \\make it easier to " + verb + " with people.")

print("\\" + name + " has a long list of sights to see, including the\\" + noun + " museum and the " + adjective2 + " park.")

User Yogurt
by
5.8k points