• anonymous
Homework 1 Part 2 Question: With the code down below I am trying to calculate how many months I need pay off the credit balance. The trouble I have is when I enter the input it output nothing. #Problem 2 balance = float(raw_input("Enter the outstanding balance on your credit card:")) year_int_rate = float(raw_input("Enter the annual credit card interest rate as a decimal:")) #Calculations monthpay = 10.0 month_int_rate = year_int_rate/12.0 month = 0 while balance > 0.0: month = month+1 balance = balance*(1+month_int_rate)-monthpay
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.