How to Greet a User in Python

user_input = input("Enter your name: ")
greeting_message = f"Hello {user_input}, How are You?"
print(greeting_message)

Leave a Comment

Your email address will not be published.