結果 : how to check array index in python