title: What mistake am I making with syntax?
body: <p>I'm new to python and have to make a code to calculate pay/what type of work you did (part-time, overtime, etc.)
  My code is this:</p>
  <pre><code>hours=int(input(&quot;How many hours did you work?&quot;))
  rate=int(input(&quot;What is your hourly rate?&quot;))
  bonusr=int(input(&quot;What is your bonus rate?&quot;))
  normaltotal=rate*hours
  bonus=rate*bonusr*(hours-40)
  pay+bonus=normaltotal+bonus 
  if hours&lt;32:
    print(&quot;You worked part-time&quot;)
    print(normaltotal)
  elif hours&gt;32 and &lt;=40:
    print(&quot;You worked Full-Time&quot;)
    print(normaltotal)
  elif hours&gt;40:
    print(&quot;You worked over-time&quot;)
    print(pay+bonus)
  </code></pre>
  <p>Im getting a syntax error for &quot;elif hours&gt;32 and &lt;=40&quot; and I'm not sure why</p>
  <p>Would appreciate any help, Thanks!</p>