Question: In python please Write code for a loop that loops until the user has entered an appropriate response. The variable you're checking should be named

In python please
In python please Write code for a loop that loops until the

Write code for a loop that loops until the user has entered an appropriate response. The variable you're checking should be named "answer" and the acceptable responses are "yes" and "no". If not one of the acceptable answers, the loop body should print an error and ask the question again. What question is asked is up to you; you can assume the question has already been asked prior to the loop you're writing

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 Databases Questions!