Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Find Maximum and Minimum Values of a List

list =[-52, 56, 30, 29, -54, 0, -110]

const min =(list) =>  Math.min(...list)

const max =(list) => Math.max(...list)
 
 
PREVIOUS NEXT
Tagged: #Find #Maximum #Minimum #Values #List
ADD COMMENT
Topic
Name
9+6 =