Assignment 2.2 Coursera Solution - 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.

2.2 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.


Solution:
 
# The code below almost works

name = input('Enter your name')
print('Hello',name)

Post a Comment

0 Comments