Question: Two Line Print - favorite restaurant verview Get input from user for their favorite restaurant and the food it serves, and print the stored information
Two Line Print favorite restaurant
verview
Get input from user for their favorite restaurant and the food it serves, and print the stored information on two separate lines.
Description
Create a print statement to print multiple variables and text.
Objective
Learn to use the Python input and print functions to get values into variables, and to print multiple variables and text.
Create a program to print the input variables with text in between on two separate lines. You will need to prompt the user for the favorite restaurant, save the input they give, prompt the user for a food at that restaurant, save what they give you, then print the appropriate message as shown below. Your input prompts can be anything you like, but you should make them sensible so the user knows what they are supposed to do
Hint: Your program will be easier for the user to read if you include an extra space or a newline at the end of your input prompt. Reminder that in is the newline character.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
