Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

finding the maximum value in a list python

arr = [0, 1, 2, 3]
maximum_value = max(arr)
print(maximum_value) #should print 3
 
PREVIOUS NEXT
Tagged: #finding #maximum #list #python
ADD COMMENT
Topic
Name
4+9 =