title: Python raw input function for tax calculation
body: <p>I am trying to make a simple calculator for working out the tax due on a salary. Please see the code below:</p>
  
  <p>I keep getting this error and I don't know what is wrong, please help :) thanks!</p>
  
  <pre><code>Traceback (most recent call last):
    File "python", line 13
      elif salary &gt; 11000 and salary &lt; 43000:
         ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>CODE:</p>
  
  <pre><code>salary = raw_input ("What is your salary?")
  
  print "So your gross annual salary is %r GBP" % (salary)
  print "\nNow we need to calculate what your net salary is."
  
  def taxes(salary):
  
      salary &gt;= 0
      while true:
          if salary &lt; 11000:
              tax = 0
      elif salary &gt; 11000 and salary &lt; 43000:
          tax = (0.2 * income) - 2200
      elif salary &gt; 43000 and salary &lt; 150000:
          tax = (0.4 * (salary - 43000)) + 6400
      elif salary &gt; 150000:
          tax = ((salary - 150000) * 0.45) + 6400 + 42800
  return tax
  </code></pre>