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

Am very behind - working on the problem set from week 2. Did anyone post an answer to Exercise 1.15 - "Buggy Loop." Have not yet found a way to search old posts efficiently - pointers appreciated.

OpenStudy (andrew.m.higgs):

Hi Jaon, You could check out http://openstudy.com/updates/508db25be4b078e4677b5775. Or perhaps let us know what problems you have and we can try to help. Cheers

OpenStudy (anonymous):

I hadn't done this exercise. I'm not sure what the intention was. But clearly, n is not being used and the loop is only dependent on i. That is maybe the problem. Once i reaches the value 1, it wobbles back and forth between 1 and 2 forever.

OpenStudy (anonymous):

Thanks - I ended up debugging it myself using the IDLE shell and concluded the same things. If I remember correctly, the blocks weren't indented properly either. Thanks for taking a look and helping me out!

OpenStudy (microbot):

could you link uys to the exercise?

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!