input() function executes program flow will be stopped until an input from user.
The string or message shows on the screen to ask user to enter value is optional i.e. the prompt, will be showed on the screen is optional.
When enter as input, the input function convert it into a string. if you enter an integer value still input() function change it into a string. You need to individually convert it into an integer in your code using typecasting.