- import math
- Oblance=float(raw_input("Enter the outstanding blance on your credit card?"))
- Irate=float(raw_input("Enter the annual credit card interest rate as a decimal?"))
- Mprate=float(raw_input("Enter the minimum monthly payment rate as a decimal?"))
- for i in range(1,13):
- print "month " + str(i)
- print "Minimum monthly payment: "+ str(round(mmp,2))
- print "Principle balance: "+str(round(pp,2))
- print "Remaining blance: "+str(round(Rblance,2))
- print "RESULT"
- print "Total amount paid: " + str(round(totalpay,2))
- print "Remaining blance: " + str(round(Rblance,2))
a guest Feb 25th, 2013 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data