Python: how can i find minimum and maximum values in subarrays elements?
<p>I've the following array:</p>

<pre><code>[[499, 3], [502, 3], [502, 353], [499, 353]]
</code></pre>

<p>They are the verteces of a rectangle.</p>

<p>I need to find the top-left, top-right, bottom-left and bottom-right vertex.</p>

<p>What's the best python code to do it ?</p>

<p>thanks</p>
