結果 : check if all numbers in array are equal python