ChatCrawlersearch across public Telegram Open the app
P

Python

сообщение · 2025-08-23 17:36 UTC
Я
can anyone help me find the cause of the loop plz m=0 from itertools import product ss=[] for t in product ('012', repeat=49) : t=str(''.join(t)) if t.count('0') ==19 and t.count('1') ==13: ss.append(t) for s in ss: while '10' in s or '20' in s: if '20' in s: s=s.replace('20', '00', 1) else: s=s.replace('10', '200', 1) if s.count ('0') >m: m=s.count('0') print(m)

Вся лента · оригинал в Telegram

Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog