Grapich interface tkinter - ошибка: TypeError: 'int' object is not subscriptable

Здесь у меня выдаёт ошибку:

  if bunch[0] == optimalWay[(len(optimalWay) -1)]:

TypeError: 'int' object is not subscriptable

Почему, не подскажете?


Ответы (0 шт):