TypeError: string indices must be integers

a[0, 10]   错误

a[0: 10]   正确

posted @ 2020-07-21 10:04  liuxianglong  阅读(230)  评论(0编辑  收藏  举报