A community for students. Sign up today!
Here's the question you clicked on:
 0 viewing
 2 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(113):
d = c*a
e = d  f
g = a  e
 2 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(113): d = c*a e = d  f g = a  e

This Question is Closed

alternapop
 one year ago
Best ResponseYou've already chosen the best response.0you should use variable names that help to make the code easier to follow. "balance" instead of "a".
Ask your own question
Ask a QuestionFind more explanations on OpenStudy
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.