Home / Python Tips Generated By ChatGPT / Reading User Input in Python Use input() to read user input from the console. Source Code user_name = input("Enter your name: ") print(f"Hello, {user_name}!")