min max from tuples in list
python at mrabarnett.plus.com
Thu Dec 12 13:36:51 CET 2013
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 efficient?
There's some debate over whether it's English or not:
More information about the Python-list