![]() |
Control Structures in Python
The following program has two mistakes in it that cause it to print an incorrect answer. # Computes how much interest is earned on a given amount of principal. principal = float(raw_input('Enter principal: ')) interestRate = float(raw_input('Enter interest rate as a percent: ')) years =...
|
| All times are GMT -4. The time now is 09:56 PM. |
Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.