結果 : python check index out of range