Question: create a program that prompts the user for some values like a name, a number, a verb, or an adjective. Your program then prints a

create a program that prompts the user for some values like a name, a number, a verb, or an adjective. Your program then prints a story and fills in the blanks with the values the user entered. An example program is given here. print("Story Time!")
name = input("Enter a name:")
fruit = input("Enter a fruit:")
count = int(input("Enter an integer:"))
amount = float(input("Enter another number:"))
print("One day,",name,"went to the store.")
print(name,"wanted to buy",count,fruit,".")
print("The store said they cost",amount,"each.")
total = count * amount
print("So",name,"paid",total,"for",count,fruit,".")

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!