Computer Science, asked by vinayaksoni82, 10 months ago

Write a program that uses input to prompt a user for their name and then welcomes them. Note that input will pop up a dialog box. Enter sarah in the pop-up box when you are prompted so your output will match the desired output.
please explain it ?

Answers

Answered by sohailans563
0

Explanation:

0

Down vote

Accepted

This is one of the easiest problem ever. This is my solution (since you tagged your post for Python 3):

name = input('Enter your name: ')

print("Welcome", name)

For Python 2, just change input to raw_input, and remove the parenthesis of the print function.

Similar questions