title: Python: Error occurring in IF/ELIF statement
body: <p>I have a program I need to write for college and I have an error in my code that I don't know how to fix</p>
  <pre class="lang-py prettyprint-override"><code>#calculate savings and print users total cost
  if voucher_quant &lt; 20:
      print(&quot;Your total will be £&quot;, str(voucher_value*voucher_quant))
      elif voucher_quant =&gt; 20 and voucher_quant=&lt;40:
          print(&quot;Your total will be £&quot;, str((voucher_value*voucher_quant)*0.05)
          elif voucher_quant =&gt;41 and voucher_quant =&lt;70:
              print(&quot;Your total will be £&quot;, str((voucher_value*voucher_quant)*0.075)
              elif voucher_quant =&gt;71 and voucher_quant =&lt;100:
                  print(&quot;Your total will be £&quot;, str((voucher_value*voucher_quant)*0.1)
  </code></pre>
  <p>can anyone help me on how to fix this?</p>