TypeError: string indices must be integers

a[0, 10]   错误

a[0: 10]   正确

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