Write a python program that prompts user to enter his first name and last name and then displays a message "Greetings!!! First name Last name."

                                      

Write a python program that prompts the user to enter his first name and last name and then displays a message "Greetings!!! First name Last name."

PROGRAM:

a=str(input("Enter your first name:"))
b=str(input("Enter your last name:"))
print("\"Greetings!!! "+str(a)+ str(b)+".\"")

OUTPUT:

No comments:

Post a Comment




Copyright Ⓒ 2022 | Mechpedia | All Right Reserved.