TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

Пронајдени 6 слични објави

Пребарај: #minigame

当前筛选 #minigame清除筛选
Gumart Announcement 🛒

@gumartec · Post #202 · 17.02.2025 г., 12:53

✨ WEEKLY LEADERBOARD UPDATE: WEEK 3 FEBRUARY CHAMPIONS! 🔼 The battle was intense, but these Gumart residents dominated the game! 🚀 Let’s celebrate our top performers who secured their spots at the top. 🏆 Top Achievers – Week 3 February: 🥇1st Place:@rich***00 - 50 USDT 🥈2nd Place:@Bury***ke - 20 USDT 🥉 3rd Place: @aoi_***ng - 20 USDT 🎮 Top 10 Most Engaged in Gumart Chat: Each winner receives 10 USDT for keeping the conversation alive! (English messages only) 🏅 Winners, check your bot notifications and claim your rewards! The next leaderboard race is ON – will you be the next champion? ⚔️💰 #Minigame

Hashtags

Airdrop Strikers™

@airdropstrikers · Post #739 · 17.10.2022 г., 14:00

Join the KardiaChain ♥️ Mass Adoption Mini Games for a chance to win a part of 200$! UTC 12:00 17th Oct - 12:00 19th Oct 🎮Game Mechanics below 👇🏻 Mini Game 🎮 1: 1. Go to 🌐https://forms.gle/de2UYK7onyduqmVn8 2. Submit the correct answer the fastest to win 25$ 3. Next 5 submissions with the correct answers also gets 10$ Each Mini Game 🎮 2: 1. Go to KardiaChain's♥️ TelegramCommunity 2. Submit you proposal idea on the thread here about the future of Web 3.0 and what KardiaChain's next steps should be on the path of achieving mass adoption. 3. Receive the most like/reaction and get 25$ Next 10 submissions with the most likes/reactions also wins 10$ each #Giveaway#MiniGame#Partnership#Web3 KardiaChain Socials : 🌐Website | 🐦Twitter |🌐Community | 🌐Channel ☑️Disclaimer: Please do your own research before joining to any project.

Airdrop Strikers™

@airdropstrikers · Post #677 · 03.10.2022 г., 06:49

Do you want to learn more about #KAIDEX x Ameta? 📣 Join the KAHOOT Mini Game for a chance to Learn & Earn a reward pool of 100$ in $APLUS! Quiz starts on 01:00 PM UTC, 3rd Oct 2022 onJoin Now Kahoot link soon 👀 TOP 5 winners will receive 20$ of APLUS each 💰🤑 #MiniGame#Giveaway#Airdrop $KDX Disclaimer: Please do your own research before joining to any airdrops project, also airdrop is 100% free. Don't send any fee or penny for receiving airdrop tokens. Just join airdrop for free!

TN MiniCrypto Official

@swift_airdrops · Post #5390 · 25.08.2024 г., 03:22

✅✅✅✅#Official KuCoin and TON Present Frog Trader #Minigame on Telegram! 🤩 Brought to you by KuCoin, a leading global crypto exchange trusted by one in four crypto holders worldwide! #Get Upto 2 lack coins 🐸 Welcome reward of 10K Frog Coins! join fast guys :- https://t.me/xkucoinbot/kucoinminiapp?startapp=cm91dGU9JTJGdGFwLWdhbWUlM0ZpbnZpdGVyVXNlcklkJTNEMTA0ODM5NjMwMSUyNnJjb2RlJTNEUUJBWkdRQUs= ➖ Click on bot ➖ Check your telegram age ➖ Link your kucoin exchange account ➖ Connect telegram wallet only ➖ Premium users will get 50k #Note :- Don't skip #early users will get more benefits join fast before end 📈

🏆 Premium, NFT, Tokens

@giiveaways · Post #2659 · 06.08.2024 г., 12:23

🐹Solution for the new mini-game in Hamster Kombat 👉https:://t.me/hamster_kombat 📣Stay updated! Subscribe to our channel: ⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️ #hamsterkombat#hamster#kombat#key#btc#combo#hamsterkey#minigame#game#clicker#taptap#memecoin