Index of maximum element in list

Henry Baxter henry.baxter at gmail.com
Fri Jan 25 16:37:38 EST 2008


I apologize if this has already been discussed - funnily enough my googling
did bring up a previous thread about it on this mailing list, but despite
the promising subject line, seemed to mainly be concerned with whether
python-list should its own FAQ...so I assume this has been asked many times
before, but my apologies I cannot find the answer. Here is what I have:

def maxi(l):

it
-- 
Henry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080125/5a2be761/attachment.html>


More information about the Python-list mailing list