結果 : python how to avoid indexerror list index out of range