li=[0,70,7,89]
max(li)
#gives the max value 89
mylist = [1, 7, 3, 12, 5]
min_value = min(mylist)
max_value = max(mylist)
import numpy as np
datalist = [
[1, 2, 3, 4, 5, 6],
[5, 0 ,0, 4, 0, 7],
[3, 5, 8, 13, 8, 5],
[5, 6, 7, 3, 4, 5],
[9, 7, 5, 3, 1, 2]]
a = np.max(datalist)
print(a)
# >> 13
num = [1,2,3,4,5]
print(max(num))
temp = [[0,1],[0,2,3], [1], [1,2,3,4]]
print(max(map(len,temp)))
#4
arr = [0, 1, 2, 3]
maximum_value = max(arr)
print(maximum_value) #should print 3
#!/usr/bin/python
list1, list2 = [123, 'xyz', 'zara', 'abc'], [456, 700, 200]
print "Max value element : ", max(list1)
print "Max value element : ", max(list2)