Skip to main content

Posts

Showing posts with the label #Write a Python program to enter P

ads1

Python Basic , 16. Write a Python program to enter P, T, R and calculate Simple Interest.

  16.   Write a Python program to enter P, T, R and calculate Simple Interest. p = int(input("Enter the Principle :- ")) r = float(input("Enter the rate of Interest   :- ")) t = int(input("Enter the time :- ")) sim = p*r*t/100 print("The Simple interest is :- ",sim) Output :-

ads2