anonymous
  • anonymous
Only on problem set 1: Can someone tell me if I'm on the right track/ why I feel like I'm not? This is what I have so far and I'm really unsure of what I'm doing. #Minimum monthly payment = Minimum monthly payment rate x Balance #Interest Paid = Annual interest rate / 12 months x Balance #Principal paid = Minimum monthly payment – Interest paid #Remaining balance = Balance – Principal paid a = raw_input ('Enter the outstanding balance on your credit card:') a_float = float(a) b = raw_input ter the annual credit card interest rate as a decimal:') b_float = float(b) c = raw_input ('Enter the minimum monthly payment rate as a decimal:') c_float = float(c) d = str('Minimum monthly payment:') e = str('Principal paid:') e_int = int(e) f = str('Interest paid:') f_int = int(f) g = str('Remaining balance:') g_int = int(g) for m in range(1-13): d = c*a e = d - f g = a - e
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.
jamiebookeater
  • jamiebookeater
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
anonymous
  • anonymous
you should use variable names that help to make the code easier to follow. "balance" instead of "a".

Looking for something else?

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