python max absolute value

33

python max absolute value -

>>> max([3, 7, -10], key=abs)
-10

Comments

Submit
0 Comments