Skip to content

Instantly share code, notes, and snippets.

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"