Selecting MAX from a list

Shashwat Anand anand.shashwat at gmail.com
Fri Mar 5 12:54:19 CET 2010


On Fri, Mar 5, 2010 at 5:09 PM, Ines T <azt113 at gmail.com> wrote:

> I need to select a maximum number from a list


use max()


> and then call the variable that
> identifies that number, for example:
> x1,x2=1, y1,y2=4, z1,z2=3
>

you mean x1 = y1 = 1 or x1, y1 = 1, 1 right ?


> So I need first to find 4 and then to take y to do additional operations as
> y-z.
>

Well, I guess you got the idea


> I will appreciate your SOON help!
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100305/d054ed90/attachment.html>


More information about the Python-list mailing list