Python Program to Calculate Simple Interest
Topic: Python Program to Calculate Simple Interest
Solution
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))
List all Python Programs