結果 : check elements in array python