This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def math(hours, wage, tax): | |
pretax = hours * wage #figures gross income | |
taxes = pretax * tax #figures how much goes into taxes | |
leftover = pretax - taxes #figures how much will be leftover | |
print "You have made $",pretax | |
print "Put $", taxes, " in the bank for taxes." | |
print "$", leftover, " is yours!!" | |
print "Figure out how much to put in the bank for taxes." | |
print "These figures are based on working in Colorado" |