python

Get User input from terminal in Python

You can use the input() function of python to get input from the user when running a python file from the terminal.

user_input = input("MESSAGE YOU WANT TO SHOW : ")

print(user_input)
Was this helpful?