- 1

Error in compiling

TypeError: list indices must be integers or slices, not tuple

24th Aug 2016, 12:00 PM
Lunu'anaki
Lunu'anaki - avatar
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.
24th Aug 2016, 2:04 PM
Demeth
Demeth - avatar