Input a welcome message and display it in Python

Input a welcome message and display it in Python program with source code and explanation. Today we are showing the code in python. This python project is useful for beginners and CBSE School Class 11 and Class 12 students computer science practical file and NIELIT O Level Programming and Problem Solving through Python (Module M3-R5).

Objective is Input a welcome message and display it in Python

Screenshot of Input a welcome message and display

Explanation of Python program code

message=input(“Enter welcome message : “) # message is a input variable that is taking value by “showing Enter welcome message”
print(“Hello, “,message) # The variable message is printed with a hello in the beginning.

Output of the above lines by clicking or directly pressing F5.

Here we are given the input Archit is a good boy, which is showed plus hello added in the beginning. Hence fulfilling the objective.

Testing is done .

Run the python program and enter the required data , whatever you will type, you will be greeted in the same way with the Hello addded in the beginning. This is the most basic program that comes in paper and is suitable for for practicle file.

Source code of Program -> click here

Thanks for reading and learning about this program.

for more python programs -> click here

Hello World Program in Python

Input a welcome message and display it in Python

Display the larger / smaller number in Python.

Greatest of Three Numbers in Python using Nested if

Patterns using nested loop in Python

Program to Print Pattern in Python

Program to input the value of x and n and sum of series in Python

Python Program for Armstrong, Prefect Number, Palindrome

Program of Prime number by recursion in python

Prime Number Program in Python

Write a Program to Print Fibonacci Series in Python

LCM and GCD program in Python

Python program to count number of vowels in a string

Whether a String is Palindrome or not in Python

Bubble Sort Program in Python

Linear search in python using list

Program to read a text file in python

Python program to read a file line by line

Program to Count Vowels and Consonants in Python

Stack Program in Python

Queue Program in Python

Python Leap Year Program for Beginners

Python Program to Print Series and Addition

Binary Search Program in Python

Program to find sum of digits in python

Sum of numbers divisible by 3 and 5 in python