Computer Science, asked by gitanjali7556, 1 day ago

write a program by using input()

Answers

Answered by MichMich0945
0

Program:

# Simple python program to get input from the user

# and print a message to the console.

name = input("Your name: ")

print("Hello,", name, "! Hope you have a great day ahead (:")

Explanation:

  • There's nothing much going on in this program, we are just asking the user to enter their name and later print a message to make their day!

Hope this helps you!

Similar questions