def ifExample4 (income):
   taxCredit = 0
   if (income < 10000):
      print "Social assistance available"
      taxCredit = 100
      taxRate = 0.1
   else:
      print "Social assistance not available"
      taxRate = 0.2
   tax = (income * taxRate) - taxCredit
   print tax