Answer to Question #235050 in Python for Diego

Question #235050


 The order in which you ask the user for the words matters and needs to match the s

Let's play Silly Sentences!

Enter a name: Grace
Enter an adjective: stinky
Enter an adjective: blue
Enter an adverb: quietly
Enter a food: soup
Enter another food: bananas
Enter a noun: button
Enter a place: Paris
Enter a verb: jump

Grace was planning a dream vacation to Paris.
Grace was especially looking forward to trying the local
cuisine, including stinky soup and bananas.

Grace will have to practice the language quietly to
make it easier to jump with people.

Grace has a long list of sights to see, including the
button museum and the blue park.

Output Template


Let's play Silly Sentences!

[name] was planning a dream vacation to [place].
[name] was especially looking forward to trying the local
cuisine, including [adjective 1] [food 1] and [food 2].
 
[name] will have to practice the language [adverb] to
make it easier to [verb] with people.
 
[name] has a long list of sights to see, including the
[noun] museum and the [adjective 2] park











1
Expert's answer
2021-09-09T17:09:00-0400
print("Let`s play Silly Sentences!")

name = input("Enter a name: ")
adj = input("Enter an adjective: ")
adj2 = input("Enter an adjective: ")
adv = input("Enter an adverb: ")
food = 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(f"{name} was planning a dream vacation to {place}.")
print(f"{name} was looking forward to trying the local cuisine, including {adj} {food} and {food2}.")
print(f"{name} will have to practice the language {adv} to make it easier to {verb} with people.")
print(f"{name} has a long list of sights to see, including the {noun} museum and the {adj2} park.") 

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS