from collections import namedtuple
Point = namedtuple('Point', ['x', 'y', 'z'])
p = Point(10, 20, 30)
print(p)
print(f'p.y = {p.y}')
print(f'p[1] = {p[1]}')
print(f'p.y is p[1] {p.y is p[1]}')

bf90e1e7e59e431c3d258e1721fc0f0137e6d085
<mask token>

<mask token>
print(p)
print(f'p.y = {p.y}')
print(f'p[1] = {p[1]}')
print(f'p.y is p[1] {p.y is p[1]}')

<mask token>
Point = namedtuple('Point', ['x', 'y', 'z'])
p = Point(10, 20, 30)
print(p)
print(f'p.y = {p.y}')
print(f'p[1] = {p[1]}')
print(f'p.y is p[1] {p.y is p[1]}')

from collections import namedtuple
Point = namedtuple('Point', ['x', 'y', 'z'])
p = Point(10, 20, 30)
print(p)
print(f'p.y = {p.y}')
print(f'p[1] = {p[1]}')
print(f'p.y is p[1] {p.y is p[1]}')
