demo_ref_input2.py:
x = input("Enter your name:") print("Hello, " + x)
➜ begtut>python demo_input2.py
Enter your name: