鬼畜的 tuple indices must be integers, not str

邱秋 • 2023年09月11日 • 阅读:45 • python

按字面上的理解就是: 元组索引必须是整数 ,你给了个字符串.

他其实想说的是: 我是个 list , 你他妈遍历我的时候, 不要妄图修改我的内部结构. 你无如何也要改, 那你copy一下 好不好.

我,秦始皇,打钱!