class A:
def __init__(self, value):
self._x = value
@property
def x(self):
return self._x * 2
a = A(5)
print(a.x)
Post #2869
636
Что выведет код?