def f():
setattr(f, "x", getattr(f, "x", 0) + 1)
f.f = f
return f
x = f()()().f.f.f().f.x
print(x)
Post #1529
2.43K
Что выведет код?
- 👍 2