On 02/16/2010 05:49 PM, W. eWatson wrote:
See Subject. a = [1,4,9,3]. Find max, 9, then index to it, 2.
The most obvious would be a.index(max(a)). Is that what you wanted ? cheers, - steve -- http://mail.python.org/mailman/listinfo/python-list
On 02/16/2010 05:49 PM, W. eWatson wrote:
See Subject. a = [1,4,9,3]. Find max, 9, then index to it, 2.
The most obvious would be a.index(max(a)). Is that what you wanted ? cheers, - steve -- http://mail.python.org/mailman/listinfo/python-list