list[index] 中的index超出范围
list是一个空的 没有一个元素 进行list[0]就会出现该错误
参考 https://blog.csdn.net/pddddd/article/details/47110813
Python报错IndexError list index out of range
原文:https://www.cnblogs.com/denglinzhe/p/12673768.html