Junior
23
0
questionbank

Как осуществляется обращение к элементам namedtuple в Python?

Answer from sobes.tech neural network

Обращение к элементам namedtuple в Python осуществляется по имени поля или по индексу.

По имени поля:

python

По индексу:

python

Обращение к элементам namedtuple в Python осуществляется по имени поля или по индексу.

По имени поля:

python

По индексу:

python

Register or sign in to get access to full answers for all questions from the question bank.

namedtupledata-structuresaccessing-elementstuple-unpackingpython-standard-library