title: How to do a bitwise NOR Gate in Python (editing python maths to work for me)
body: <p>Say I was to write this:</p>
  
  <pre><code>a=01100001 
  b=01100010 
  c=01100011 
  d=01100100 
  e=01100101 
  </code></pre>
  
  <p>each letter resembles the given numbers now how would I deal with the resembling values:</p>
  
  <p>Python would want to do this:</p>
  
  <pre><code>a + b = 2200011
  </code></pre>
  
  <p>but what I want it to do is this</p>
  
  <ul>
  <li>if 0 and 0 are attempted to be added together show 1</li>
  <li>if 1 and 0 are attempted to be added together show 0</li>
  <li>if 0 and 1 are attempted to be added together show 0</li>
  <li>if 1 and 1 are attempted to be added together show 0</li>
  </ul>
  
  <p>What I wish to do is <code>a + b = 10011100</code></p>
  
  <p>Is there a way to edit the way python works out maths in this instance?</p>
  
  <p>do far i have given set values to represent the letters but i want to do is change the way that python gives me results to match XOR gate in the explanation above</p>
  
  <p>so could anyone give example of a code to give set values (1+1=0)(0+0=1) ... e.g</p>