from collections import namedtuple
A = namedtuple('A', ['x', 'y'])
a = A('A', ['1', '2'])
a.x = 3
print(a.x)
Post #1162
2.87K
Что выведет код?