JustCaptain kod-buduschego
253504b541f7f2df21287b4928c87fb803c0792f
Перейти к файлу
Код
task_7.py
def count() -> None:
    count: int = 0

    def add_count() -> None:
        nonlocal count
        count += 1

    add_count()
    add_count()
    add_count()
    print(count)


count()