title: How to use less than and equal to in an assert statement in python
body: <p>When I run the following:</p>
  
  <pre><code>growthRates = [3, 4, 5, 0, 3]
  for each in growthRates:
      print each
      assert growthRates &gt;= 0, 'Growth Rate is not between 0 and 100'
      assert growthRates &lt;= 100, 'Growth Rate is not between 0 and 100'
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>3
  Traceback (most recent call last):
    File "ps4.py", line 132, in &lt;module&gt;
      testNestEggVariable()
    File "ps4.py", line 126, in testNestEggVariable
      savingsRecord = nestEggVariable(salary, save, growthRates)
    File "ps4.py", line 106, in nestEggVariable
      assert growthRates &lt;= 100, 'Growth Rate is not between 0 and 100'
  AssertionError: Growth Rate is not between 0 and 100
  </code></pre>
  
  <p>Why is that?</p>