Created
July 4, 2017 07:20
-
-
Save shanzantrik/288bf9c9c5d4306a2f88862b1ab09dd7 to your computer and use it in GitHub Desktop.
Python Code Snippets created by ShantanuMain - https://repl.it/JMco/0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loan_amount = input("Enter Loan Amount") | |
interest_rate = input("Enter Interest Percentage") | |
no_of_payments = input("Enter No. of Payments you want to make") | |
L = float(loan_amount) | |
i = float(interest_rate) | |
n = int(no_of_payments) | |
monthly_install = L*(i*(1+i)*n)/((1+i)*n-1) | |
print ("Your Monthly Installment Amount is %.2f" % monthly_install) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment