title: xor of elements of a list/tuple
body: <p>I have a tuple of <code>'0'</code> and <code>'1'</code>, and I want the xor of all its element. For example, if I have <code>('0', '1', '1', '0')</code>, I want to obtain <code>((0 xor 1) xor 1) xor 0</code>.</p>
  
  <p>I have the following (working) snippet:</p>
  
  <pre><code>bit = ('0', '1', '0', '1', '0', '1', '0')
  out = bit[0]
  for i in range(1, len(bit)):
      out = int(out) ^ int(bit[i])
  print str(out)
  </code></pre>
  
  <p>How can I make it in a more pythonic way (using <code>map</code> and a lambda function ?)</p>