[Tutor] Getting the highest numbers from a list

Andrei Kulakov ak@silmarill.org
Mon, 27 Aug 2001 14:28:05 -0400


On Mon, Aug 27, 2001 at 02:20:57PM -0400, David L. Lerner wrote:
> Is there a simple way to get the _n_ highest numbers from an unordered list?
[snip]

How about getting highest number, removing it, getting next highest
number, etc? If you want to keep the list intact, make a copy of it.

> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor

-- 
Cymbaline: intelligent learning mp3 player - python, linux, console.
get it at: cy.silmarill.org