結果 : python return none if index out of range