Обьясни поведение программы
counter = 0 def outer(): counter = 10 def inner(): global counter counter += 1