anonymous
  • anonymous
Hey, I finished doing the first written exercises (http://bit.ly/SouFWO) and have correctly predicted the output for the final question (Ex 1.15 Buggy Loop), but I have no idea what this code might be trying to do, so have no idea what changes might be made. Any thoughts?
MIT 6.189 A Gentle Introduction to Programming Using Python (OCW)
jamiebookeater
  • jamiebookeater
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.

Get this expert

answer on brainly

SEE EXPERT ANSWER

Get your free account and access expert answers to this
and thousands of other questions

anonymous
  • anonymous
n never changes, I suppose the idea is that i reaches some value and then something is done with n (and with i, maybe) but there are other possibilities...
anonymous
  • anonymous
I wonder if they will put some timetable for the MOOC, looking at the materials (do some stuff on Monday, some on Tuesday it says) and then materials from different sources. Without some sort of guidance, things are going to get confused pretty quickly, I think.
anonymous
  • anonymous
I had the same question. Since the variable n isn't used in the code, I thought that it probably should be. But where? The if statement is clearly checking to see if the variable is even or not. But why? I have no idea.

Looking for something else?

Not the answer you are looking for? Search for more explanations.

More answers

anonymous
  • anonymous
Estudier: The Mechanical MOOC will send weekly e-mails with pointers to specific materials to review or exercises to complete during the week. Participants will post questions they have to this study group.
anonymous
  • anonymous
Yeah, I still have no idea, but I suppose "n" is a clue. Has to be there for some reason.

Looking for something else?

Not the answer you are looking for? Search for more explanations.