Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Overview Write a program to ask the user for an input and then print the input. Description Create an input prompt for the user matching

Overview
Write a program to ask the user for an input and then print the input.
Description
Create an input prompt for the user matching the required description and then respond to it.
Objective
Learn to use the Python input function to prompt the user for a specific input, and save it into a variable.
Print a message that has an embedded quote mark.
Create a program to prompt the user for two pieces of information using a specific question and then output the input as a response.
Your prompts for input must be exactly the following:
Enter a name:
Enter a movie title:
Notice that your prompt must end with a colon character followed by a space. Even though you cant see the space, the computer knows its there are will look for it when grading your submission. Your program will run just fine if you dont put the colon and space, but it will not pass the autograded test cases with the Check It button. You should run your program several times in development mode, trying it with several different inputs, before you try to submit it for grading. Once you do, note that the graded submission reports the expected output with the prompts written out prior to the output. Also try running without the space in the prompt, without the colon, and with various inputs (like maybe weird charcters in a movie name) so you can see how the autograder reports various types of errors.
Example: If the input is
Hack Clack
Pulp Fiction
Then the output is:
Hello Hack Clack,
I recommend you watch Pulp Fiction - it's a classic!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions

Question

Explain the difference between mediation and moderation.

Answered: 1 week ago

Question

16.6 Outline the three waysto obtain union recognition.

Answered: 1 week ago

Question

When would you use one approach, and when would you use another?

Answered: 1 week ago

Question

3. How would this philosophy fit in your organization?

Answered: 1 week ago