anonymous
  • anonymous
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
MIT 6.00 Intro Computer Science (OCW)
chestercat
  • chestercat
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
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
anonymous
  • anonymous
Finally got it passed grader, it was, among st other things the balance defined in x to be inserted at the reset point
anonymous
  • anonymous
Good stuff... congrats!

Looking for something else?

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

More answers

anonymous
  • anonymous
I have rather a lot of work to do to get any good at this though.
anonymous
  • anonymous
If loadsOfWorkIsPutInThis: print ("You will appreciate the enormous gains later!!! Keep up the good work!!!")
anonymous
  • anonymous
I cant get a proper way to work out the stuff on paper, doing it on screen and forgetting half of it
anonymous
  • anonymous
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!
anonymous
  • anonymous
I'd agree with that, Thanks anyway.
TuringTest
  • TuringTest
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.
MicroBot
  • MicroBot
congratz mini!!!! see how a break helps u concentrate?:)
anonymous
  • anonymous
Yes thanks

Looking for something else?

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