Python - User Input

Here's an example of how to get user input in Python:

# get user input and store it in a variable
name = input("Please enter your name: ")

# print a greeting message
print("Hello,", name, "! Welcome to Python programming.")

In this example, the input() function is used to prompt the user to enter their name. The user's input is then stored in the name variable. Finally, a greeting message is printed to the console, using the print() function and the value of the name variable.