This Python code calculates simple interest by prompting the user to input the principal amount, number of years, and interest rate. It then multiplies these values together divided by 100 to calculate the simple interest amount, which it prints out along with the message "is the simple interest".
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
76 views1 page
Simple Interest PDF
This Python code calculates simple interest by prompting the user to input the principal amount, number of years, and interest rate. It then multiplies these values together divided by 100 to calculate the simple interest amount, which it prints out along with the message "is the simple interest".