# return max repeated value in a list x = [1,2,3,4,4,5,5,6,6,1,1,1,1,1,2,2] print(max(set(x), key = x.count))