title: Unpacking a list / tuple of pairs into two lists / tuples
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/19339/a-transpose-unzip-function-in-python">A Transpose/Unzip Function in Python</a>  </p>
  </blockquote>
  
  
  
  <p>I have a list that looks like this:</p>
  
  <pre><code>list = (('1','a'),('2','b'),('3','c'),('4','d'))
  </code></pre>
  
  <p>I want to separate the list in 2 lists. </p>
  
  <pre><code>list1 = ('1','2','3','4')
  list2 = ('a','b','c','d')
  </code></pre>
  
  <p>I can do it for example with:</p>
  
  <pre><code>list1 = []
  list2 = []
  for i in list:
     list1.append(i[0])
     list2.append(i[1])
  </code></pre>
  
  <p>But I want to know if there is a more elegant solution.</p>