@cryptocurrentsglobal · Post #3634 · 04.08.2025 г., 13:54
🇮🇳#BTC#reserves#India#crypto India has climbed to the second spot in global BTC reserves, ranking only behind the USA.
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
Пребарај: #reserves
@cryptocurrentsglobal · Post #3634 · 04.08.2025 г., 13:54
🇮🇳#BTC#reserves#India#crypto India has climbed to the second spot in global BTC reserves, ranking only behind the USA.
@ethereumglobalnews · Post #1443 · 30.11.2025 г., 04:58
💡 BIG: Bitmine now holds 3.63M #ETH worth $12.7B. #Crypto#MarketWatch 📈 Bitmine 公布最新儲備報告: 目前累積 3.63M 枚 ETH(約 108.7 億美元),佔總供應量 3%。 其 EPS 同比增長 +189.13%、mNAV 為 0.84。 #以太坊#Reserves#市場趨勢#DeFi ——— ⚡️ 巨量長線吸納持續推高「協議級需求」,大型機構的增持力道或成為下一波 ETH 結構性支撐。 ✅Chat: @Web3NewsInsight 🦂 👇Tip👇讚 或點擊進行💎資源搜索👇
@venturevillagewall · Post #4031 · 30.01.2025 г., 16:00
Czech Central Bank Eyes Bitcoin Investment Czech National Bank considers Bitcoin investment, stated Governor Aleš Michl. Proposal could diversify 5% of $146 billion reserves. Details: ForkLog #CzechRepublic#Bitcoin#Crypto#Investments#CentralBank#Finance#AlešMichl#Reserves#ForkLog
@venturevillagewall · Post #3811 · 07.01.2025 г., 13:00
Czech Bank Considers Bitcoin Investment Aleš Michl, Governor of the Czech National Bank, suggests possible Bitcoin acquisition for diversification of foreign reserves. Board decision pending. Plans to raise gold reserves to 5% by 2028. Read more. #CzechRep#Bitcoin#Finance#Investing#Gold#Reserves#CentralBank#Diversification#Crypto#Economy
@venturevillagewall · Post #4328 · 07.03.2025 г., 07:00
Trump Establishes Strategic Bitcoin Reserve Former President Trump has signed an order to create a strategic Bitcoin reserve in the U.S., based on approximately 200,000 BTC confiscated by the government. This reserve will serve as a savings asset, not intended for sale, acting as a digital Fort Knox. Meanwhile, analysts indicate that governments may follow the U.S. lead, reducing the likelihood of Bitcoin bans from regulators. Post-announcement, Bitcoin saw a price drop from $91,000 to $85,000 but has since recovered to $88,000. No altcoins are currently included in the reserve plans. Full details here: Reuters #Bitcoin#crypto#Trumpr#US#Blockchain#Finance#Regulation#Assets#DigitalCurrency#Investments#Savings#Market#Trading#Reserves#Government#FTX#Securities#FortKnox#Economy#PriceDrop#StrategicReserve
@venturevillagewall · Post #4146 · 14.02.2025 г., 04:00
Bitcoin Investment Bills Could Drive $23B Matthew Sigel from Vaneck highlights that 20 U.S. states are advancing Bitcoin reserve bills, which could inject $23 billion (~247,000 BTC) into the market. Various state funds, including budget surpluses, are proposed for Bitcoin investments. Read more here. #Bitcoin#Investment#Finance#Markets#VC#Crypto#US#Legislation#Blockchain#PensionFunds#Funds#WealthManagement#BudgetSurplus#StateFunds#Reserves#Securities#Trading#Innovation#DigitalAsset#Decentralized#Ecosystem
@venturevillagewall · Post #3825 · 09.01.2025 г., 01:00
Public Companies and El Salvador Boost Bitcoin Two U.S. companies enhance Bitcoin holdings: Thumzup Media invests $1M, shifting 90% of assets to Bitcoin and considering Bitcoin payments for workers. KULR Technology acquires $21M in Bitcoin, totaling $42M. El Salvador buys an additional 11 Bitcoin for its reserves. Meanwhile, Oklahoma proposes SB 325 to allow Bitcoin payments and seeks a payment processor by 2026. Decrypt | Oklahoma Bill #Bitcoin#ElSalvador#PublicCompanies#Investment#Crypto#Thumzup#KULR#Finance#PaymentProcessing#Legislation#Oklahoma#TaxGuidance#DigitalAssets#Reserves#StrategicReserve#Blockchain#Assets#CryptoNews#SB325#VC
@venturevillagewall · Post #4053 · 02.02.2025 г., 19:00
Bitcoin Mirrors 2015-2018 Market Cycle 📈 A new report from *Glassnode* outlines parallels between Bitcoin's current bullish trend and the 2015-2018 market cycle. Key insights include: - Price retracements align with Fibonacci thresholds of 10.1%-23.6%. - Current capital inflows doubled, but below the previous cycle's peak. - Centralized exchanges have seen reserves drop from 3.1M BTC to 2.7M BTC. - 1.1M BTC shifted from long-term to short-term wallets during price ascent. While Bitcoin's macro trend is bullish, cautions arise about distribution phases preceding waning demand. Historical patterns suggest potential market stability ahead. Full report here #Bitcoin#MarketCycle#Crypto#Finance#Investment#BullMarket#Glassnode#Fibonacci#BTC#Trading#Economy#Reserves#ETF#InvestorBehavior#Liquidity#PriceAction#Trends#Analytics#Research#CapitalInflows#LongTermInvestors#ShortTermInvestors