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.

Anyone know why I get indentation error on this ? balance = 3329 annualInterestRate = 0.2 monthlyPaymentRate = 0.04 monthlyInterestRate = annualInterestRate/12 mmp = 310 paid = 0 m = 1 while(m <= 1): balance = balance m += 1 balance = (balance - mmp)*(1 + monthlyInterestRate) paid = mmp + paid print 'Total paid: ',round(paid,2) print 'Remaining balance: ',round(balance,2)

MIT 6.00 Intro Computer Science (OCW)
I got my questions answered at in under 10 minutes. Go to now for free help!
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


To see the expert answer you'll need to create a free account at Brainly

Why are you indenting while loop? Bring it on the same level as balance and others.I think there is your problem.
To put another loop round
But its not there yet, that's why the error !

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

im happy we found it! gl with submition!

Not the answer you are looking for?

Search for more explanations.

Ask your own question