Question: Question 2 What would the following display if the user entered a Y? sAnswer = input(Do you want to enter a student name?).upper() while (sAnswer

Question 2 What would the following display if the user entered a "Y"? sAnswer = input("Do you want to enter a student name?").upper() while (sAnswer == "Y") : sFullName = input("Enter the student name: ") print(sFullName) print("\"Thank you") (a) Nothing Prompt to enter in the student name as long as the user continues to press the letter Y ) This is an endless loop. (D) None of the above

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!