Often, you will want to make a program interactive. One way to do this is to get text input from the user. To do this, we will use the input() command.
The syntax looks like this:
input("prompt seen by user")
Don't forget to save this user input as a variable! Here is an example:
first_name = input("What is your name?")
If you ask the user for non-string input, you'll have to receive the input, then do a type conversion.
For example:
age = int(input("How old are you?"))
distance = float(input("How many miles away?"))
Note: Order of operations with parentheses goes inside to outside. The input happens first, then the type conversion.