Python User Input
Python provides a built-in input() function using which a user can input data from the console.
Example
name = input("Enter your name:")
print(name)
In older version of Python (2.x) use the raw_input() function.
Example
name = raw_input("Enter your name:")
print(name)