結果 : how to check all elements in array python