input() function asks the user for an input. It prompts the user to enter input through the keyboard and saves it. This function enables programs to respond to user input. For example, it can ask for the user’s name and print the name The input function can take a prompt within the parenthesis, which it will use to prompt the user to enter the input.
>>> name = input("Enter your name here: ") Enter your name here: Filipa >>> name 'Filipa'