## Python Program to Calculate Simple Interest

- Write a Python program to Calculate Simple Interest with example. Before we get into the example, let me show you the formula behind the Simple Interest calculation:
- Simple Interest = (Principal Amount * Rate of Interest * Number of years) / 100
- This Python program allows users to enter the Principal Amount, Rate of Interest, and Number of years. By using those values, the program calculates Simple Interest using the above-specified formula.

### Source Code:

#Follow @Programmerfect

# Python Program to Calculate Simple Interest

princ_amount = float(input(" Please Enter the Principal Amount : "))

rate_of_int = float(input(" Please Enter the Rate Of Interest : "))

time_period = float(input(" Please Enter Time period in Years : "))

simple_interest = (princ_amount * rate_of_int * time_period) / 100

print("\nSimple Interest for Principal Amount {0} = {1}".format(princ_amount,simple_interest))

# Python Program to Calculate Simple Interest

princ_amount = float(input(" Please Enter the Principal Amount : "))

rate_of_int = float(input(" Please Enter the Rate Of Interest : "))

time_period = float(input(" Please Enter Time period in Years : "))

simple_interest = (princ_amount * rate_of_int * time_period) / 100

print("\nSimple Interest for Principal Amount {0} = {1}".format(princ_amount,simple_interest))

## Comments

## Post a Comment