We use the print() function in Python in order to output information on the screen to the user. We can use the input() function in order to us to take input from the user.

print('What is 2 + 2?')
answer = input()
print('2 + 2 is: ' + answer)

When we use input() function, the program will wait until it receives input from the user and the user presses the enter key before continuing the execution of the program. We can use the input() function with applications that run on the command line.