min max from tuples in list
steve+comp.lang.python at pearwood.info
Fri Dec 13 00:25:49 CET 2013
On Thu, 12 Dec 2013 12:36:51 +0000, MRAB wrote:
> On 12/12/2013 11:44, Steven D'Aprano wrote:
>> On Wed, 11 Dec 2013 23:25:53 -0800, Robert Voigtländer wrote:
>>> I have a list like this:
>>> a = [(52, 193), (52, 193), (52, 192), ...
>>> I need to find a -performant- way to transform this into a list with
>>> tuples (a,[amin],[amax]).
>> I'm afraid I don't know what you mean by "performant". It doesn't
>> appear to be an English word, so far as I can tell. Do you mean
> There's some debate over whether it's English or not:
Ah! I've never come across it before, and it wasn't in any of the
electronic dictionaries I tried, nor the dead-tree Shorter Oxford.
I think I don't dislike it.
More information about the Python-list