Sometimes in your program you may want some input from the user. This makes the program feel more interactive and versatile to use. In Python 3, to receive input from the user, we use `input()`. When the input function is called, the program flow will stop until the user has given an input and has ended the input with the return key.
If you enter a non integer value then Python will throw an error `ValueError`. This is because it is specified in the program to specifically take an **integer**. **Therefore, be careful to always check if the program is asking for a specific input type.** Otherwise, your program will stop unexpectedly after the prompt.
Though, inputs are stored by default as a string. Using the `str()` function makes it clear to the code-reader that the input is going to be a 'string'. It is a good practice to mention what type of input will be taken beforehand.
By default, inputs are stored as 'strings'. Therefore, we can use the `map()` function to indicate that the input will be converted into integers and then their values are stored in a variable.
NOTE: Inside the `split()` function, we can add the separator used to split and identify chunks of data to be stored separately. For example, if we want to separate each value by a comma, we write `input().split(",")` and so on.