The input function allows the user to provide a prompt string. The first thing you need to do is declare a variable where the input will be stored. When the function is evaluated, the prompt is shown. The user of the program can enter anything and press enter. But wait, there’s more…you should know that the input function returns a string value. If you want to do some arithmetic with it, you need to convert that string into an int or a float, using the int or float converter functions.

SCREENSHOT.