A prompt is text displayed by a program to request information from a user. In Python, place a prompt string inside input(); the program displays it and waits until the user presses Enter. End the prompt with a space so the user's response does not run into the question. section 11.2
A prompt connected to stored input
user_place = input("Where do you live? ") text = user_place.capitalize() + "!" print(text) The program asks a question, stores the user's string, changes its capitalization, and prints the result.
input("What's your name? ")
View the compact prompt syntax: input("What's your name? "). section 11.2

















































