• anonymous
I need help on problem 1 part 2 I know you have to do a for loop for the monthly payment and a nested for loop for the months but something about my code is not right: x = float(raw_input('Enter the outstanding balance on your credit card: ')) y = float(raw_input('Enter the annual credit card interest rate as a decimal: ')) MMP = 0 MIR = y/12.0 month = 0 for MMP in range(0, 1200, 10): NB = x*(1+MIR) - MMP for i in range(1, 13): NB = x*(1+MIR) - MMP x = NB print NB print MMP if NB >= 0: month += 1 else: break
MIT 6.00 Intro Computer Science (OCW)
• Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
SOLVED
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.

Looking for something else?

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