title: How to get the max x and min y coordinates from a 2D list in python?
body: <p>I have a list that looks like:</p>
  
  <pre><code>[[8.91636727 0.50420552]
   [1.50918535 8.43128826]
   [4.18447757 0.21850886]
   [8.82701669 8.39773898]]
  </code></pre>
  
  <p>Essentially they are x,y coordinates and I wanted to know how to get the highest x with the lowest y. (i.e. 8.91.. and 0.50..). I started with the X's and thought of doing:</p>
  
  <pre><code>for x,y in means:
      if x &gt;= start:
          start = x; h = x; l = y 
      else:
          start = start
  </code></pre>
  
  <p>But was wondering how to implement this for the min of y's. 
  Also my other issue is that there may be a case such as:</p>
  
  <pre><code>[[8.91636727 0.50420552]
   [1.50918535 8.43128826]
   [4.18447757 0.21850886]
   [**8.92701669** 8.39773898]]
  </code></pre>
  
  <p>Where the I dont neccessarily always want the highest x by itself, I want the highest x coupled with the lowest y. </p>