Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Linux and Unix (http://www.domainnameforum.org/forumdisplay.php?f=119)
-   -   Control Structures in Python (http://www.domainnameforum.org/showthread.php?t=17626)

Linux 08-14-2009 09:49 PM

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.