Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

horowitz.jason

  • 2 years ago

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.

  • This Question is Open
  1. andrew.m.higgs
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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

  2. Screech
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    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.

  3. horowitz.jason
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    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!

  4. MicroBot
    • 2 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    could you link uys to the exercise?

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

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.