Sorry, I am still learning python. Let me print my code for you to see and test. I am sure I am writing this the long way so bare with me.

Code:

#Christels interest Calculator
amount = 0
interest = 0
the_days = 0
def owed():
global amount
amount = 0
amount = float(raw_input("Enter what the Loan Amount you owe: "))
return amount
def rate():
global interest
interest = 0
interest = float(raw_input("Enter interest rate: "))
return interest
def months():
global the_days
day = 0
day = int(raw_input("Compounding interest over how many months: "))
the_days = day * 30
return the_days
# main
print owed()
print rate()
print months()
raw_input("Press Return and I will tell you how much it will be at the end:")
while the_days > 0:
# This gets your per day interest rate
today = amount * interest / 365
# This is the amount and interest per day
new_amount = amount + today
the_days -= 1
amount = new_amount
print "Day: ",the_days," Amount: ", new_amount, " daily interest: ", today
print"\t All Done: ", amount

I first ask the person 3 question. Loan Amount, interest rate and length of the loan. They would type in Loan '12,300'... Interest '18.5' and length '60' months, for example. But when I take the users inputs and do the math like, 12300 * 18.5 I come up with a total of 227,500. What I am trying to do is convert the 18.5 which they enter and have that .185. so it would it would look like this 12300 * .185. This would get me 2,275.5 for the annual interest rate. I was then dividing the annual interest rate by 365 days a year to find out what the interest rate was per day.

Again I am new to this so I hope I explained it OK, sorry if I am confusing.

-Lars