ChatCrawlerпоиск по публичному Telegram Открыть приложение
3

30 Days Of Python

сообщение · 2022-08-31 02:29 UTC
М
Ответсообщение недоступно
You are checking for equality so the ifs are true if both strings are the same which in this case they're not. Assume the input is "hello world" so i will be "h" for the first iteration. Then every if checks if "h" is equal to the given string on right which it isnt bc string on right is "bcdfgh...". What you should do instead is to use "in" keyword instead of equality so it checks if the string on the left is used in string on the right. if i in v: Vo += 1 if i in c: Co +=1 ...

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

Открыть в Telegram Каталог площадок Искать в ChatCrawler

Слепок открытой публичной ленты из поискового индекса ChatCrawler — «Google по публичному Telegram»; обновляется по мере обхода площадки. Время — UTC.

Только публичный контент, официальный API Telegram. О проекте · Вопросы · Чего мы не делаем · Убрать страницу из выдачи · Каталог