結果 : check all elements in list are equal python