Calculating mortgage interest in Python
I am currently learning python through a video tutorial on youtube, and have come up against a formula I cannot seem to grasp, as nothing looks right to me. The basic concept of the excersise is to make a mortgage calculator that asks the user to input 3 pieces of information, Loan Amount, Interest Rate, and Loan Term (years) then it calculates the monthly payments to the user. here is my code: __author__ = 'Rick' # This program calculates monthly repayments on an interest rate loan/mortgage. loanAmount = input("How much do you want to borrow? \n") interestRate = input("What is the interest