0
0

В чем ошибка?

 
from collections import namedtuple
Player = ('Player', 'Surname Name Age')
players = [Player('Petrov', 'Igor', 29)]

 
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-11-03013d1d0640> in <module>
1 from collections import namedtuple
2 Player = ('Player', 'Surname Name Age')
----> 3 players = [Player('Petrov', 'Igor', 29)]

TypeError: 'tuple' object is not callable


student_T6WTv8cA
4 years ago






Еще нет ответов