Question: For python, what can I do if I want to show my input function(yes/no) again and again until it received 'no' which make it to

For python, what can I do if I want to show my input function(yes/no) again and again until it received 'no' which make it to do something else. There are some conditions below the input function, they need to be run each time when the input fuction receive 'yes' ?

Output:What would you like to do? (yes/no): yes

some conditions...

What would you like to do? (yes/no): no

return something

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!