write a program by using input()
Answers
Answered by
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
Math,
17 hours ago
Science,
17 hours ago
Social Sciences,
1 day ago
Math,
8 months ago
English,
8 months ago