list[index] 中的index超出范围
list是一个空的 没有一个元素 进行list[0]就会出现该错误
参考 https://blog.csdn.net/pddddd/article/details/47110813