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)

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 our expert's

answer on brainly

SEE EXPERT ANSWER

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

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)
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

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