title: Is there an operation for not less than or not greater than in python?
body: <p>Consider a following snippet:</p>
  
  <pre><code>a = 0
  if a == 0 or a &gt; 0:
      print(a)
  </code></pre>
  
  <p>Essentially, I want to do something when <code>a</code> is not negative. If instead of this, I had wanted to do something when <code>a</code> is not <code>0</code>, I would have simply written:</p>
  
  <pre><code>if a != 0 :
  </code></pre>
  
  <p>In the same spirit, I tried :</p>
  
  <pre><code>if a !&lt; 0 :
  </code></pre>
  
  <p>assuming the consistency of the Python where user starts guessing the correct implementations once he/she gets used to the language. I was surprised to see that this particular operation does not exist in Python! My question is that why such simple thing has not been implemented in Python and is there another way in which it has been implemented. Any feedback is highly appreciated. Thank you</p>