Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

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.

MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
See more answers at brainly.com
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SIGN UP FOR FREE
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
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.
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!

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

could you link uys to the exercise?

Not the answer you are looking for?

Search for more explanations.

Ask your own question