p=float(input("Please enter principle amount: ")) t=float(input("Please enter the time in years: ")) r=float(input("Please enter the rate of interest: ")) si=(p*t*r)/100; #si is stand for simple interest print("\n simple interest is: ",si);Output:Please enter principle amount: 5000 Please enter the time in years: 4 Please enter the rate of interest: 3 simple interest is: 600.0