結果 : check for list index out of range python