Coursera
Programming for Everybody (Getting Started with Python)
Week 4
Assignment 2.2
Question: 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.
Input:
# The code below almost works
name = input("Enter your name")
print("Hello",name)
Output:
Hello Sarah
The above questions are from “Programming for Everybody (Getting Started with Python)” You can discover all the refreshed questions and answers related to this on the “Programming for Everybody (Getting Started with Python) By Coursera” page. If you find the updated questions or answers, do comment on this page and let us know. We will update the answers as soon as possible.
Do Not Only Use These Quizzes For Getting Certificates.You Can Take Help From These Quizzes Answer. All Quizzes & Contents Are Free Of Charge. ✅If You Want Any Quiz Answers Then Please Contact Us