The input()
function is used to get user input from standard I/O.
While the input()
function requires not modules to get working,
it will block the rest of the program from running until the user presses the enter
key.
input()
is probably the easiest way you could get user input in Python.
The most basic example of input()
is with something like: