@googlefactss · Post #40910 · 08.04.2026 г., 21:19
Catfish have over 27,000 taste buds. Humans have around 7,000. @googlefactss#fish
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #146 · 16 сеп.
Функция sub в regex может принимать функцию в качестве аргумента repl. 📄 Из документации: If repl is a function, it is called for every non-overlapping occurrence of pattern. The function takes a single match object argument, and returns the replacement string. То есть для каждого совпадения будет вызвана функция для вычисления замены вместо замены на одну и ту же строку для всех совпадений. Иными словами, для замены разных совпадений на разные строки не потребуется запускать re.sub() много раз для каждой строки замены. Достаточно определить функцию, которая вернёт строку для каждого из совпадений. Описание слишком запутанное🤔, давайте лучше рассмотрим на простом примере: Создаем карту замены. То есть какие строки на какие требуется менять. remap = { 'раз': '1', 'два': '2', 'три': '3', 'четыре': '4', 'пять': '5', } Пишем функцию поиска строки для замены. Единственным аргументом будет объект re.Match. Используя данные этого объекта мы вычисляем замену on-the-fly! def get_str(match: re.Match): word = match.group(1) return remap.get(word.lower()) or word Пример текста. text = '''Раз Два Три Четыре Пять Вместе будем мы считать Пять Четыре Три Два Раз Мы считать научим вас ''' Теперь запускаем re.sub и вместо строки замены (repl) подаём имя функции. (Данный паттерн ищет отдельные слова в тексте) >>> print(re.sub(r'(\w+)', get_str, text)) 1 2 3 4 5 Вместе будем мы считать 5 4 3 2 1 Мы считать научим вас Думаю, достаточно наглядно 🤓 #libs#regex
Пребарај: #fish
@googlefactss · Post #40910 · 08.04.2026 г., 21:19
Catfish have over 27,000 taste buds. Humans have around 7,000. @googlefactss#fish
Hashtags
@googlefactss · Post #40314 · 13.12.2025 г., 11:04
Eels undergo a life cycle called catadromous. This is when an animal is born in salt water, migrates to fresh water to grow, and then returns to the ocean to spawn @googlefactss#fish
Hashtags
@googlefactss · Post #39912 · 08.10.2025 г., 18:04
Lampreys and hagfish are the most primitive living vertebrates, representing the sole survivors of the jawless fish lineage that diverged early in vertebrate evolution. @googlefactss#fish
Hashtags
@skilllabs · Post #255 · 01.06.2022 г., 15:36
Hey Skill Labs community, have you already played our fishing game on Discord?🐠🧩 👉 Join our Discord NOW: https://discord.com/invite/skilllabs 👉 Go to the channel called: #fish (in the offtop section) and see the rules in a pinned message 👉 We are currently hosting tournaments!
Hashtags
@tonorbital · Post #243 · 25.06.2024 г., 18:01
🎉 Exciting News from #FISH! 🎉 Minting for @RetardinoTON gamepass NFTs is now live! 💫 In the upcoming patch, players can also purchase amazing cosmetic items associated with RetarDino partners. 📈 As a bonus, 50% of the profit will go towards the buyback and burn of #FISH tokens. 🎮 Don't miss out—owning an NFT is your exclusive gateway to play and earn $WFOSS. Let the adventure begin!
Hashtags
@pixiv · Post #215 · 23.05.2017 г., 14:08
#Fish げみ pixiv.net/i/28680466
Hashtags
@pixiv · Post #201 · 16.05.2017 г., 13:07
#Fish enj! pixiv.net/i/58149654
Hashtags
@skilllabs · Post #195 · 10.05.2022 г., 14:31
Beneficial Fishing - You Got 10 BUSD 🤑 Do you remember that Skill Labs launched a Fishing game on Discord? 🔝 We summarized the first results and decided to give 10 BUSD for TOP-5 on the list 🪝 From now, Skill Labs announcing a small tournament for everyone, you play - you earn 👉 Join our Discord and play: https://discord.gg/skilllabs 👉 Go to the channel named: #fish (the offtop section) The results will be published on May 13th 🚀 🐡🐠🐟
Hashtags
@skilllabs · Post #165 · 29.04.2022 г., 20:35
Play in Discord and get rewards 🕹 Hey Skill Guilders, let's play the fishing game using our Discord bot 🦈 👉 Join our Discord: https://discord.gg/skillguilds 👉 Go to the channel called: #fish (the offtop section) 👉 There you will see a pinned message with rules and a tutorial on how to play 🧩 Play the game and complete daily quests using the command: %quests Very soon we will launch a tournament among our community, be ready and train yourself 💪 Join now: https://discord.gg/skillguilds
Hashtags
@SukoFaultyArtLair · Post #4166 · 23.09.2019 г., 20:14
https://twitter.com/Krekk0v/status/1088215914569318402 #female#fish
@OnlineEducation10 · Post #74 · 24.02.2021 г., 05:54
Rare jellyfish species called Halitrephes maasi - #Animals#Fishhttps://twitter.com/i/status/1359961404028063744
@TgSticker · Post #42384 · 04.02.2026 г., 11:21
Которыбы #cat#fish#memes 😊создать свои стикеры