This preview shows page 1. Sign up to view the full content.
Unformatted text preview: # simple interest for a given principal, interest rate # per period, and number of periods. # def show_interest(principal, rate, periods): interest = principal * rate * periods print 'The simple interest will be $%.2f.' % interest # Call the main function. main()...
View Full Document
This note was uploaded on 07/15/2010 for the course CSE CSE1530 taught by Professor Lew during the Spring '09 term at York University.
- Spring '09