title: Trying to bitwise and two lists in python
body: <p>I did the following in the python shell. The first and third output is correct but the second and is just wrong. I know i can use the zip function to do this but i want to know why python does this.</p>
  
  <pre><code>&gt;&gt;&gt; [1,1,1,1] and [1,0,0,0]
  [1, 0, 0, 0]
  &gt;&gt;&gt; [1,0,0,0] and [1,1,0,0]
  [1, 1, 0, 0]
  &gt;&gt;&gt; [1,1,1,1] and [0,0,0,0]
  [0, 0, 0, 0]
  </code></pre>