Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

max of a list in python

#!/usr/bin/python

list1, list2 = [123, 'xyz', 'zara', 'abc'], [456, 700, 200]
print "Max value element : ", max(list1)
print "Max value element : ", max(list2)
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #max #list #python
ADD COMMENT
Topic
Name
7+1 =