@degenpump_crypto_pump_signals · Post #504652 · 13.05.2026 г., 09:49
#KSM/USDT Take-Profit target 2 ✅ Profit: 29.9305% 📈 Period: 12 hr 8 min ⏰
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
Пребарај: #ksm
@degenpump_crypto_pump_signals · Post #504652 · 13.05.2026 г., 09:49
#KSM/USDT Take-Profit target 2 ✅ Profit: 29.9305% 📈 Period: 12 hr 8 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504622 · 13.05.2026 г., 04:05
#KSM/USDT Take-Profit target 1 ✅ Profit: 17.8794% 📈 Period: 6 hr 23 min ⏰
Hashtags
@degenpump_crypto_pump_signals · Post #504349 · 10.05.2026 г., 22:25
#KSM/USDT Take-Profit target 1 ✅ Profit: 19.2236% 📈 Period: 36 min ⏰
Hashtags
@CoinSonar · Post #243761 · 17.04.2026 г., 15:57
#KSM | Volume spike (USDT PAIR) 23 times the average volume 132.18K USDT traded in 15 min └Buying vol: 73.87K USDT 🟢 Boost score: 4/10 24h Vol: 540.16K USDT (Binance) Price: 5.00 (-0.9% in 24h)
Hashtags
@CoinSonar · Post #243692 · 17.04.2026 г., 13:39
#KSM | Volume spike (USDT PAIR) 22 times the average volume 128.88K USDT traded in 15 min └Buying vol: 87.91K USDT 🟢 Boost score: 3/10 24h Vol: 540.16K USDT (Binance) Price: 5.14 (-0.9% in 24h)
Hashtags
@CoinSonar · Post #243621 · 17.04.2026 г., 11:38
#KSM | Volume spike (USDT PAIR) 24 times the average volume 137.73K USDT traded in 15 min └Selling vol: 82.17K USDT 🔴 Boost score: 1/10 24h Vol: 540.16K USDT (Binance) Price: 5.17 (-0.9% in 24h)
Hashtags
@CoinSonar · Post #243576 · 17.04.2026 г., 09:38
#KSM | Volume spike (USDT PAIR) 34 times the average volume 196.20K USDT traded in 15 min └Selling vol: 115.52K USDT 🔴 Boost score: 1/10 24h Vol: 540.16K USDT (Binance) Price: 5.27 (-0.9% in 24h)
Hashtags
@CoinSonar · Post #243506 · 17.04.2026 г., 07:38
#KSM | Volume spike (USDT PAIR) 135 times the average volume 254.11K USDT traded in 5 min └Selling vol: 146.21K USDT 🔴 Boost score: 1/10 24h Vol: 540.16K USDT (Binance) Price: 5.69 (-0.9% in 24h)
Hashtags
@CoinSonar · Post #243462 · 17.04.2026 г., 05:38
#KSM | Volume spike (USDT PAIR) 22 times the average volume 129.23K USDT traded in 15 min └Buying vol: 80.41K USDT 🟢 Boost score: 5/10 24h Vol: 540.16K USDT (Binance) Price: 4.73 (-0.9% in 24h)
Hashtags
@proanalysistrader · Post #28194 · 14.11.2024 г., 16:17
#KSM/USDT analysis : #KSM has broken below the 200 EMA and is currently attempting to breach the support zone. The price is expected to break through this zone and continue its decline. For a short entry, it is recommended to wait for confirmation of the support break. TF : 1h Entry : $17.86 Target : $16.78 SL : $18.54
Hashtags
@proanalysistrader · Post #27941 · 17.09.2024 г., 13:30
#KSM/USDT analysis : #KSM is in an uptrend, trading above the 200 EMA. The price has tested and bounced back from the 200 EMA and the support zone. It is likely to continue its bullish momentum and test previous highs. TF : 2H Entry : $19.90 Target : $21.77 SL : $18.82
Hashtags
@proanalysistrader · Post #27876 · 26.08.2024 г., 05:38
#KSM/USDT analysis : #KSM is presently consolidating within the resistance zone and is anticipated to decline from this point to retest previous lows. TF : 1h Entry : $22.03 Target : $20.50 SL : $22.93
Hashtags