Printing HELLO Message With Input Name in Python.
Program Explanation :
# Prompting the user to enter their name and storing it in the variable 'name' using input() function.
name = input("Please Enter Your Name Here:\n")
# Displaying a greeting message with the user's name concatenated using the '+' operator.
print("Hello " + name)
Here is the program :
name = input("Please Enter Your Name Here:\n")
print("Hello " + name)
Here is the output :
Please Enter Your Name Here: Tony
Hello Tony