Discussions Events Study Material Jobs
Input the user name and print a greeting message using Python - Uniwaly

Explore Diverse Conversations

Input the user name and print a greeting message using Python

Posted By: UmairMehmood Published On: 13 June 2025 At: 13:04 PM

Input: Ali → Output: Hello, Ali!
name = input("Enter your name: ")
print("Hello,", name + "!")


Tags:

python print a greeting message in python python code
Login to like

Posted By:

Author Profile

UmairMehmood

11 days ago

Join the conversation!

Login to Comment

Discover More Articles

Check Leap Year or Not Using Python

CM Punjab Asaan Karobaar Card Scheme

Explain with specific example the relationship of higher education with employment situation in the developing countries.

Create a tuple of 6 items and print its length using len() function Using Python

Essential Timeline of British India: Pivotal Events Leading to Independence

BPS 5 and BPS 16 Supreme Court of Pakistan Job Vacancies 2025

Your Rights Online: How to Report and Delete AI-Generated Fake Content Featuring You

Indian BSF soldier arrested on Pakistani soil by Pak Rangers

Discuss need of assessment in higher education in Pakistan? Up to what extent you are satisfied with the present assessment system and how it can be improved?

Create a dictionary with keys as subjects and values as marks. Print marks for a given subject using Python