Re: Selecting MAX from a list

2010-03-05 Thread lbolla
On Mar 5, 11:39 am, Ines T wrote: > I need to select a maximum number from a list and then call the variable that > identifies that number, for example: > x1,x2=1, y1,y2=4, z1,z2=3 > So I need first to find 4 and then to take y to do additional operations as > y-z. It's not clear what you are su

Re: Selecting MAX from a list

2010-03-05 Thread Shashwat Anand
On Fri, Mar 5, 2010 at 5:09 PM, Ines T 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

Selecting MAX from a list

2010-03-05 Thread Ines T
I need to select a maximum number from a list and then call the variable that identifies that number, for example: x1,x2=1, y1,y2=4, z1,z2=3 So I need first to find 4 and then to take y to do additional operations as y-z. I will appreciate your SOON help! -- http://mail.python.org/mailman/listinf