Ask your own question, for FREE!
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW) 19 Online
OpenStudy (anonymous):

I did the Exercise 2.10 OPT 1. Ideally, I wanted to use only one While loop. But I ended up using a While loop, as well as, an If statement. Is there a way to do it using only a while loop? The code is attached.

OpenStudy (anonymous):

OpenStudy (anonymous):

enter phrase while phrase != quit ( do stuff ) enter phrase

OpenStudy (anonymous):

Cool. That worked very well. Thanks.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!