📅  最后修改于: 2022-03-11 14:46:18.808000             🧑  作者: Mango
List = ['Mon','Mon','Mon','Mon']
// Result from count matches with result from len()
result = List.count(List[0]) == len(List)
if (result):
print("All the elements are Equal")
else:
print("Elements are not equal")