Loop and the list

anton muhin antonmuhin at rambler.ru
Fri May 14 10:32:08 EDT 2004


Krzysztof Szynter wrote:
> Hi all
> 
> Have got a big problem. This is my code:
> 
> 

[snipped]

If I understand you correctly, you just need to find maximum. If it's 
so, there is better way: built-in max function:

 >> max([1, 2, 3])
3

regards,
anton.



More information about the Python-list mailing list