9. Write a Python program to calculate EMI for Amount, Period and Interest.

Solution :- 

Static :- 

amount = 200000
period = 5
rate = 7.5
interest = amount * period * rate /100
total = amount + interest
emi = total /(period * 12)
print(“EMI amount is “,emi)

Output :-

Dynamic :- 

amount = float(input(“Enter the base amount :- “))
period = float(input(“Enter the time period :- “))
rate = float(input(“Enter rate of Interest :- “))
interest = amount * period * rate /100
total = amount + interest
emi = total /(period * 12)
print(“EMI amount is “,emi)

Output :-