title: How do I get the opposite (negation) of a Boolean in Python?
body: <p>For the following sample:</p>
  
  <pre><code>def fuctionName(int, bool):
      if int in range(...):
          if bool == True:
              return False
          else:
              return True
  </code></pre>
  
  <p>Is there any way to skip the second if-statement? Just to tell the computer to return the opposite of the boolean <code>bool</code>?</p>