Categories: Python
Tags:
# Simple EMI Calculator in Python

# si = (p * r * t) / 100

# total_loan = si + p 

# emi total_loan / months

p = float(input("Enter Principal Amount "))
r = float(input("Enter Rate of Interest "))
t = float(input("Enter Time in Years  "))

si = (p * r * t) / 100

print("Simple interest is ", si)

total_loan = si + p

months = t * 12

emi = total_loan / months

print("EMI is ", emi)

input("Press enter to exit ")