title: If not (a and not b) and if (not a and b)
body: <p>Can anyone explain why these two statements aren't equal?</p>
  
  <pre><code>if not(a and not b): 
  // do some stuff
  
  
  if (not a and b):
  // do some stuff
  </code></pre>
  
  <p>I tried to make my program more understandable by changing the first statement to the second but it doesn't work. I don't totally understand why. </p>