def outer(x):
count = 555
num = 666
def inner():
nonlocal count, num
return x
return inner
muller = outer(777)
print(muller())
print(muller.__closure__[0].cell_contents, muller.__closure__[1].cell_contents, muller.__closure__[2].cell_contents)