def outer():
x = "local"
def inner():
nonlocal x
x = "nonlocal"
print(x, end=" ")
inner()
print(x)
outer()
Post #1908
2.45K
Что выведет код?