...

/

Console Input

Console Input

Learn how to receive input from the console in Python.

Console input/output means that we input using the keyboard, and the output will be shown on the screen.

Receive input from the console

Console input can be received using the built-in input() function.

The general form of the input() function is:

 ...