Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

how to get absolute value of elements of list in python

myList = [2,3,-3,-2]
myList = list(map(abs,myList))
 
PREVIOUS NEXT
Tagged: #absolute #elements #list #python
ADD COMMENT
Topic
Name
9+1 =