View Single Post
  #1  
Old 08-14-2009, 09:49 PM
Linux Linux is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,113
Default 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 =...
__________________
Linux
Domain name forum
Reply With Quote