Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python max absolute value

>>> max([3, 7, -10], key=abs)
-10
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #max #absolute
ADD COMMENT
Topic
Name
4+2 =