@airdropgoldchannel · Post #157405 · 20.08.2024 г., 08:21
dont forget connect your wallet on #grass Platform https://app.getgrass.io/register/?referralCode=DrfLIlSnqH9aFRY
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #83 · 11 мај
У строки в Python есть два очень похожих метода. На столько похожих что кажется они делают одно и тоже. Это метод isdigit() и isnumeric() Давайте посмотрим зачем нам два одинаковых метода? И так ли они одинаковы? Очевидно что isdigit() говорит нам, состоит ли строка только из чисел 0-9 >>> '12'.isdigit() True >>> '12x'.isdigit() False >>> '-12'.isdigit() False >>> '12.5'.isdigit() False Можно предположить что isnumeric() делает более глубокий анализ и распознаёт в строке float или отрицательное число. >>> '15'.isnumeric() True >>> '-15'.isnumeric() False >>> '15.2'.isnumeric() False Нет, всё так же как и с другим методом. В чем же тогда разница? Для начала посмотрим следующие примеры: >>> '5'.isdigit(), '5'.isnumeric() # Обычная цифра 5 # True, True >>> '꧕'.isdigit(), '꧕'.isnumeric() # Яванская 5 # True, True >>> '෩'.isdigit(), '෩'.isnumeric() # Синхала 3 # True, True >>> '৩'.isdigit(), '৩'.isnumeric() # Бенгальская 3 # True, True >>> '༣'.isdigit(), '༣'.isnumeric() # Тибетская 3 # True, True >>> '³'.isdigit(), '³'.isnumeric() # 3 верхний индекс (степень) # True, True >>> '𝟝'.isdigit(), '𝟝'.isnumeric() # Математическая двойная 5 # True, True >>> '๔'.isdigit(), '๔'.isnumeric() # Тайская 4 # True, True >>> '➑'.isdigit(), '➑'.isnumeric() # 8 в круге # True, True А теперь примеры в которых, по мнению Python, результаты не равны >>> '¾'.isdigit(), '¾'.isnumeric() # дробь три четверти # False, True >>> '⅕'.isdigit(), '⅕'.isnumeric() # дробь одна пятая # False, True >>> '𒐶'.isdigit(), '𒐶'.isnumeric() # клинопись 3 # False, True >>> '三'.isdigit(), '三'.isnumeric() # 3 из унифицированной идеограммы # False, True >>> '⑩'.isdigit(), '⑩'.isnumeric() # цифра 10 в круге # False, True >>> 'Ⅳ'.isdigit(), 'Ⅳ'.isnumeric() # Римская 4 # False, True >>> '𑇪'.isdigit(), '𑇪'.isnumeric() # Сенегальская архаическая 10 # False, True >>> '𐌢'.isdigit(), '𐌢'.isnumeric() # Этрусская цифра 10 # False, True >>> 'ↂ'.isdigit(), 'ↂ'.isnumeric() # Римская цифра 10000 # False, True >>> '〇'.isdigit(), '〇'.isnumeric() # Символ ККЯ ноль # False, True Получается, что isdigit() говорит нам, является ли символ десятичной цифрой или спецсимволом, имеющим цифирное значение после преобразования. В свою очередь isnumeric() включает все дополнительные символы юникода которые имеют отношения к числовым и цифровым представлениям. Ну и пара примеров в которых в обоих случаях символ не является числом, это эмодзи. >>> '🕙'.isdigit(), '🕙'.isnumeric() # эмодзи 10 часов # False, False >>> '7️⃣'.isdigit(), '7️⃣'.isnumeric() # эмодзи 7 # False, False Также есть еще один дополнительный и весьма полезный метод isdecimal(). Он нам сообщает, можно ли из указанного символа сделать простую десятичную цифру. То есть сработает ли метод int(x) >>> '෩'.isdecimal(), int('෩') # Синхала 3 # True, 3 >>> '➑'.isdecimal(), int('➑') # 8 в круге # False, ValueError Какие выводы? 🔸 При определении цифры в строке isdigit() подходит лучше чем isnumeric(), но оба не гарантируют успешную конвертацию в int 🔸 Для однозначного определения возможности преобразования строки в int лучше подходит метод isdecimal() 🔸 Для однозначного определения символов 0...9 лучше использовать regex Полный список символов юникода которые определяются как numeric #basic
Hashtags
Пребарај: #grass
@airdropgoldchannel · Post #157405 · 20.08.2024 г., 08:21
dont forget connect your wallet on #grass Platform https://app.getgrass.io/register/?referralCode=DrfLIlSnqH9aFRY
Hashtags
@airdropgoldchannel · Post #157365 · 13.08.2024 г., 20:26
#GRASS Airdrop: browse and earn money 1. Register 2. download the chrome extension in. pc/android (kiwi/mises browser) 3. login with your account 4. Browse Internet to earn 5.Enjoy
Hashtags
@binancefuturesignal · Post #36313 · 10.04.2026 г., 15:08
🚀 Back to Back profits are made in the Premium Group 🎯🎯#GRASS/USDT has covered all the target to give a Profit of 40% to all Premium Members 👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gain
Hashtags
@btctradingclub · Post #26399 · 20.11.2025 г., 21:33
🚀🚀427% Huge Profit on #GRASS/USDT as it has hit all the profit target - The trade has been closed 👁🗨Contact @primemod to enter the premium group & make daily gains
Hashtags
@blumgap · Post #3365 · 28.07.2025 г., 10:05
📍Grass Update. 🌿 • Officially Epoch 9 has ended and Epoch 10 is now live from Today 28th July to August 28th. • Let’s hope this marks the final epoch ahead of the Season 2 airdrop. 📱Use #Grass app for 3x earning 🌿 Grass Node :App Link •• For New User's 👇 🔗 Sign-Up Link :Grass 🧿 Referral code :2a7IJQ7PbBGK4S0 ❤️ If you appreciate our work, tap a like or heart to support — we’ll keep bringing top passive income projects!
Hashtags
@binancecryptochampions · Post #2613 · 16.08.2025 г., 04:05
✴️Free signal-Futures ✴️ ⚡️⚡️#GRASS/USDT⚡️⚡️ Exchanges: Binance Futures, Bybit USDT Signal Type: Regular (Long) Leverage: Cross 20.0x 🚪Entry Targets: 1) 0.762 🎯Take-Profit Targets: 1) 0.778 2) 0.805 3) 0.857 🚫Stop Loss: 0.7175 🌱 Published By: @Trading_exp🌱 Join_vip: @Crypto_Futures_Spot_Payment_bot
Hashtags
@cryptoarsenal · Post #62682 · 11.04.2026 г., 15:29
🎰#GRASS buying 🔫 110K USDT in 50 sec (40%) on Hyperliquid P: 0,34668 ⬆️ (2,14%) Vol 24h: 380K USDT Last 1 d ago #CEXTrack
@Wallpaper_INT · Post #46306 · 10.05.2025 г., 07:31
#Beach#Sea#Grass#8K @Wallpaper_INT
@binancefuturesignal · Post #36330 · 13.04.2026 г., 05:50
☑️☑️Below you will see the Futures Premium Signals Results for (11th-12th April 2026) 🚀#RAVE-USDT - 854% profit 🚀#GRASS-USDT - 40% profit 🚀#MERL-USDT - 62% profit ✅✅Net Profit = 956% Profit 👇🏻Signals Summary ➕Total Signals Sent out - 03 ✔️Profitable Signals - 03 ✖️Total Signals Lost - 00 ◼️Trade cancelled without being executed - 00 ✅✅Net Profit - 956% Profit 👁🗨Contact @futurechief to enter the most profitable Futures Premium Signal Group
@Wallpaper_Prime · Post #24078 · 18.01.2026 г., 19:16
#закат#трава#sunset#grass ⭐️ «Wallpaper Prime» ⭐️
@Wallpaper_Prime · Post #23139 · 09.12.2025 г., 09:02
#трава#цветы#grass#flowers ⭐️ «Wallpaper Prime» ⭐️
@wildthemestelegram · Post #1676 · 14.09.2024 г., 14:20
Ghost #black #gray #white #biege #light #grass #ghost #art ᅠ𝐖𝐢𝐥𝐝 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐓𝐡𝐞𝐦𝐞𝐬 ᅠ═──═⌘═──═ᅠ