If you want to take in the input from a user, you can use the built-in function in Python that helps you do just that. If you are using an older Python (2x) version, then the below code will be useful:
raw_input(‘Enter the user input: ‘)
And if you are using the latest version of Python (3x), then you need to use the following code:
input(‘enter the user input: ‘)