title: Getting the correct max value from a list of tuples
body: <p>My list of tuples look like this:</p>
  <pre><code>[(0, 0), (3, 0), (3, 3), (0, 3), (0, 0), (0, 6), (3, 6), (3, 9), (0, 9), (0, 6), (6, 0), (9, 0), (9, 3), (6, 3), (6, 0), (0, 3), (3, 3), (3, 6), (0, 6), (0, 3)]
  </code></pre>
  <p>It has the format of (X, Y) where I want to get the max and min of all Xs and Ys in this list.</p>
  <p>It should be min(X)=0, max(X)=9, min(Y)=0, max(Y)=9</p>
  <p>However, when I do this:</p>
  <pre><code>min(listoftuples)[0], max(listoftuples)[0]
  min(listoftuples)[1], max(listoftuples)[1]
  </code></pre>
  <p>...for the Y values, the maximum value shown is 3 which is incorrect.</p>
  <p>Why is that?</p>