Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

Dust

  • 3 years ago

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

  • This Question is Closed
  1. alternapop
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    you should use variable names that help to make the code easier to follow. "balance" instead of "a".

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

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy