結果 : python check if index is out of range