Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

minimallinux Group Title

So now I have removed extraneous code and stripped it back to bare essentials but there is still something not quite right monthlyInterestRate = annualInterestRate/12 mmp = 10 while(balance > 0): m = 1 mmp += 10 while(m <=12): m += 1 balance = (balance - mmp)*(1 + monthlyInterestRate) if(balance <= 0 and mmp > 0): print 'Lowest payment: ', mmp as this prints out 300

  • one year ago
  • one year ago

  • This Question is Closed
  1. Chris2332 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    How can mmp be equal or less than zero... it is initiated at 10. You are not resetting the balance on the within outer loop

    • one year ago
  2. minimallinux Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Finally got it passed grader, it was, among st other things the balance defined in x to be inserted at the reset point

    • one year ago
  3. Chris2332 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Good stuff... congrats!

    • one year ago
  4. minimallinux Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    I have rather a lot of work to do to get any good at this though.

    • one year ago
  5. Chris2332 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    If loadsOfWorkIsPutInThis: print ("You will appreciate the enormous gains later!!! Keep up the good work!!!")

    • one year ago
  6. minimallinux Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    I cant get a proper way to work out the stuff on paper, doing it on screen and forgetting half of it

    • one year ago
  7. Chris2332 Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Just be patient and work through every problem slowly to fully understand it. Coding is relatively easy... to get to the solution of a problem is the tricky bit!

    • one year ago
  8. minimallinux Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    I'd agree with that, Thanks anyway.

    • one year ago
  9. TuringTest Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I too am not good at doing work on paper wither. At least the work I do is pretty disorganized. I make notes on what variables I need to change, and sketch outlines of the program, but all the important tweaking comes from me playing with the program. I guess that's just the debugging process.

    • one year ago
  10. MicroBot Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    congratz mini!!!! see how a break helps u concentrate?:)

    • one year ago
  11. minimallinux Group Title
    Best Response
    You've already chosen the best response.
    Medals 1

    Yes thanks

    • one year ago
    • Attachments:

See more questions >>>

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.