If the index is out of range, IndexError is raised (assignment to a subscripted sequence cannot add new items to a list).

 
  • 如果指标超出范围,就会抛出IndexError例外(给一个用下标引用的有序对象赋值不会给列表增添新项)。
今日热词
目录 附录 查词历史