title: Python 2.7 find min,max on list of lists
body: <p>I'm a noob to Python, coming from C/C++. 
  I'm working with an accelerometer connected to a Beaglebone Black. I collect 6 [X,Y,Z] readings from the accelerometer as:</p>
  
  <pre><code>calib = [[-72, -80, -673], [-31, -1673, 481], [-29, -62, 1564], [-148, 1464, 545], [-1513, -67, 539], [1350, -80, 480]]
  </code></pre>
  
  <p>I need to find the min and max for <code>X</code>, <code>Y</code>, and <code>Z</code> from this set of six readings.
  The code I have is:</p>
  
  <pre><code>max = [0] * 3
  min = [0] * 3
  
  for ndx, sample in enumerate(calib):
      x, y, z = calib[ndx]
      if x &gt; max[0]:
          max[0] = x
      if x &lt; min[0]:
          min[0] = x
      if y &gt; max[1]:
          max[1] = y
      if y &lt; min[1]:
          min[1] = y
      if z &gt; max[2]:
          max[2] = z
      if z &lt; min[2]:
          min[2] = z
  
  print "min", min
  min [-1513, -1673, -623]
  
  print "max", max
  max [1350, 1464, 1564]
  </code></pre>
  
  <p>This seems to work, but just doesn't look "pythonic". There has to be a cleaner way to do this. Any advice?      </p>