- 1
Error in compiling
TypeError: list indices must be integers or slices, not tuple
1 ответ
0
seems that you wrote something like that: list[1, 2] and python recognises 2 numbers separated with comma as tuple, while list index is integer.
TypeError: list indices must be integers or slices, not tuple