Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bal = float(raw_input('What is the amount of your debt, in dollars and cents? Do not include the dollar sign - i.e. "1234.56" for a $1,234.56 loan).'))
- a = float(raw_input('Enter the annual interest rate in percent. Do not include the percent sign - i.e. "25" for a 25% rate.'))
- ann = a / 100
- m = ann / 12 # Tests returned several syntax errors with this line which I could not identify; the issue was really with another line.
- mon = m * 100
- mini = float(raw_input('Enter the minimum monthly payment rate as a decimal using the same format.'))
- print 'Starting balance: $ %s' % bal # this should read as "Starting balance $x.yz", but not with variables. You know what I mean.
- print 'Annual interest rate: %s percent', % a
- print 'Monthly interest rate: %s percent', % mon
Advertisement
Add Comment
Please, Sign In to add comment