怎么破IndexError

怎么破IndexError?

提示为超出列表的索引范围。你检查第21行的返回结果