🐍 Укус питона 🐍
@byteofpython2.9K подп.
340просмотров
11.6%от подписчиков
7 ноября 2025 г.
questionScore: 374
Что выведет код? x = 0 def outer(): x = 1 def inner(): nonlocal x x += 1 return x print("A", inner(), x) x = 5 print("B", inner(), x) outer() print("G", x)
340
просмотров
202
символов
Нет
эмодзи
Нет
медиа

Другие посты @byteofpython

Все посты канала →
Что выведет код? x = 0 def outer(): x = 1 def inner(): nonlo — @byteofpython | PostSniper