Python Program that prints “Hello” followed by the given word

 

Python Coding Practice For Beginners

Write a program that takes a word W as input and prints “Hello” followed by the given word W.

Program Code

w=input()
print("Hello "+ w)

Sample Input 1

World

Sample Output 1

Hello World

Sample Input 2

Ravi

Sample Output 2

Hello Ravi

Comments

Popular posts from this blog

CODING ASSIGNMENT 4

CODING PRACTICE 11 Music Page

CODING ASSIGNMENT 3