num = [1,1,1,1,1,1] result = num.count(num[0]) == len(num) if (result): print(True) else: print(False)