title: Python None and if conditions
body: <p>I have some code here:</p>
  
  <pre><code>m = None
  n = None
  
  if not m:
      print "Something happens"
  &gt;&gt;&gt; Something happens
  </code></pre>
  
  <p>if I do:</p>
  
  <pre><code>if not m and n:
      print "Something happens"
  </code></pre>
  
  <p>Nothing happens.</p>
  
  <p>But I can do:</p>
  
  <pre><code>m, n = 1,2
  if m and n:
      print "Something happens"
  &gt;&gt;&gt; Something happens
  </code></pre>
  
  <p>Why are if and if not handled the same way? Does 'if not', not take 'and' statements?</p>
  
  <p>Thank you </p>