User Input

How do you prompt the user for input?

The input() function pauses a program and waits for the user to enter data.

How do you work with the data entered by a user?

All data entered is converted to a string. Numerical data needs to be converted to the appropriate type before you can work with it.