Objectives
- Get user input
- Convert string input into numbers
- Display values
Note in the following examples that the input function will get a string from the user. The int() and float() functions are used to turn that string into an integer or a floating-point number. The input function takes an optional prompt one of its parameters.