title: : for displaying all elements in a multidimensional array in python 3.1
body: <p>I have a multidimensional array in python like:</p>
  
  <pre><code>arr = [['foo', 1], ['bar',2]]
  </code></pre>
  
  <p>Now, if I want to print out everything in the array, I could do:</p>
  
  <pre><code>print(arr[:][:])
  </code></pre>
  
  <p>Or I could also just do print(arr).  However, If I only wanted to print out the first element of each box (for arr, that would be 'foo', 'bar'), I would imagine I would do something like:</p>
  
  <p>print(arr[:][0])</p>
  
  <p>however, that just prints out the first data blog (['foo', 1]), also, I tried reversing it (just in case):</p>
  
  <p>print(arr[0][:])</p>
  
  <p>and I got the same thing.  So, is there anyway that I can get it to print the first element in each tuple (other than:</p>
  
  <pre><code>for tuple in arr:
      print(tuple[0])
  </code></pre>
  
  <p>)?  Thanks.</p>