Zen of Python
Полный Дзен Пайтона в одном канале Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels Сайт: https://tprg.ru/site Регистрация в перечне РКН: https://tprg.ru/xZOL
Show more📈 Analytical overview of Telegram channel Zen of Python
Channel Zen of Python (@zen_of_python) in the Russian language segment is an active participant. Currently, the community unites 19 285 subscribers, ranking 6 985 in the Technologies & Applications category and 35 067 in the Russia region.
📊 Audience metrics and dynamics
Since its creation on невідомо, the project has demonstrated rapid growth, gathering an audience of 19 285 subscribers.
According to the latest data from 10 June, 2026, the channel demonstrates stable activity. Although there has been a change in the number of participants by 48 over the last 30 days and by -2 over the last 24 hours, overall reach remains high.
- Verification status: Not verified
- Engagement rate (ER): The average audience engagement rate is 12.11%. Within the first 24 hours after publication, content typically collects 5.16% reactions from the total number of subscribers.
- Post reach: On average, each post receives 2 336 views. Within the first day, a publication typically gains 996 views.
- Reactions and interaction: The audience actively supports content: the average number of reactions per post is 8.
- Thematic interests: Content is focused on key topics such as github, rust, pip, api, install.
📝 Description and content policy
The author describes the resource as a platform for expressing subjective opinions:
“Полный Дзен Пайтона в одном канале
Разместить рекламу: @tproger_sales_bot
Правила общения: https://tprg.ru/rules
Другие каналы: @tproger_channels
Сайт: https://tprg.ru/site
Регистрация в перечне РКН: https://tprg.ru/xZOL”
Thanks to the high frequency of updates (latest data received on 11 June, 2026), the channel maintains relevance and a high level of publication reach. Analytics show that the audience actively interacts with content, making it an important point of influence in the Technologies & Applications category.
def merge(str1, str2):
return ''.join(sorted(set(list(str1) + list(str2))))
и @impreza555:
def merge(str1: str, str2: str) -> str:
return "".join(sorted(set(str1) | set(str2)))
#задача
@zen_of_pythonis_jewel(), определяющую, сколько камней драгоценны, а сколько нет.
Условия:
— Присутствует чувствительность к регистру («а» и «А» – разные камни).
— 1 <= jewels.length, stones.length <= 50
Для проверки:
jewels = "aA" # a — бриллиант, A – сапфир
stones = "aAAbbbb" # b — кварц (недрагоценный)
>>> is_jewel(stones, jewel)
... 3
@zen_of_pythonforecast_df = tfm.forecast_on_df(
inputs=input_df,
freq="M", # monthly
value_name="y",
num_jobs=-1,
)
Репозиторий проекта
#библиотека
@zen_of_pythonplt.show().
Репозиторий проекта
#библиотека
@zen_of_pythonpyenv install 3.x.x
pyenv local 3.x.x # для виртуального окружения
pyenv global 3.x.x # для всей ОС
Коллеги, поделитесь своим опытом решения этой задачи.
! Пожалуйста, будьте взаимовежливы. Всем нам нужно место, где можно попросить помощи.
@zen_of_pythondef is_fitting(flowerbed, n):
flowerbed = [0] + flowerbed + [0] # Чтобы на краю можно было цветочек посадить :-)
k = 0
for slot in range(1, len(flowerbed) - 1):
if not any(flowerbed[(slot - 1) : (slot + 2)]):
flowerbed[slot] = 1
k += 1
return k >= n
и @patriarch_chesslovo:
def is_fitting(flowerbed, required_slots):
is_prev_slot_filled = sum(flowerbed[0:2]) == 0
vacant_slots = int(is_prev_slot_filled)
for i in range(1, len(flowerbed)):
is_curr_slot_filled = not is_prev_slot_filled and sum(flowerbed[i-1:i+2]) == 0
vacant_slots += int(is_curr_slot_filled)
is_prev_slot_filled = is_curr_slot_filled
if vacant_slots >= required_slots:
return True
return vacant_slots >= required_slots
Отдельное спасибо @patriarch_chesslovo за описание пограничных случаев (одноместная клумба) и проверку некоторых решений.
Присоединяйтесь: одна задача в неделю — это вполне оптимальная нагрузка, а навык решать задачи все равно будет расти.
#задача
@zen_of_python>>> merge('acfg', 'bcht')
... 'abcfght'
Если у вас есть интересная задачка, и вы хотите посмотреть на решения коллег-подписчиков (плюс опционально получить фидбэк своего решения), оставляйте задачи в комментах под этим постом.
#задача
@zen_of_python
Available now! Telegram Research 2025 — the year's key insights 
