a = [[1,0,1,2,1,1,1,3111111], [31,1,4,51,1,1,1], [1,1,6,7,8]]
print min(a, key=len)
# [1, 1, 6, 7, 8]
print len(min(a, key=len))
# 5
print min(map(len, a))
# 5
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.min(datalist)
print(a)
# >> 0
li=[0,70,7,89]
min(li)
#gives the min value 0
c=[4, 10, 2, 57]
print(min(c))
# 2
numbers = [1, 5, 2, 10, 9, 3, 5]
print(min(numbers))
min(list)