В продолжение прошлого поста про цифры в мире строк.
Почему методы isdigit() и isnumeric() не определяют в строке float и отрицательные значения?
Дело в том, что эти методы работают с ЦИФРАМИ, то есть с единичным символом. А строка "-2" или "3.4" это уже ЧИСЛО. То есть не символ а значение, записанное несколькими символами.
Все озвученные методы проходятся по каждому символу строки и проверяют их индивидуально.
В юникоде есть символы цифр с точками "🄀⒈⒉⒊⒋⒌⒍⒎⒏⒐"
Каждая из них это ОДИН СИМВОЛ, поэтому он будет считаться цифрой
>>> '⒌'.isdigit(), '⒌'.isnumeric()
True, True
Но когда мы пишем это выражение в два символа ( 5+точка), то это не работает.
>>> '5.'.isdigit(), '5.'.isnumeric()
False, False
А еще есть такие символы
>>> '⑴⑵⑶⑷⑸'.isdigit()
True
>>> '🄁🄂🄃'.isdigit()
True
Но они не преобразуются в десятичные цифры
>>> '⒈'.isdecimal()
False
>>> '🄃'.isdecimal()
False
>>> '⑶'.isdecimal()
False
#basic
🚀🚀Raining Profits in the Premium Group
🎯🎯#FLOCK/USDT has covered all the targets to give an amazing profit of 142% for all Premium Members
👁🗨Contact @futurechief to enter the premium group & make daily gains on Futures as well as Spot Market
☑️☑️Below you will see the Futures Premium Signals Results for (24th February 2026)
🚀#FLOCK-USDT - 142% profit
🚀#ESP-USDT - 24% profit
❌
✅✅Net Profit = 166% Profit
👇🏻Signals Summary
➕Total Signals Sent out - 02
✔️Profitable Signals - 02
✖️Total Signals Lost - 00
◼️Trade cancelled without being executed - 00
✅✅Net Profit - 166% Profit
👁🗨Contact @futurechief to enter the most profitable Futures Premium Signal Group
Flock Secures $3M in Funding
Web3 AI training firm Flock has successfully raised $3M in a strategic funding round led by Digital Currency Group (DCG). Notable participants included Lightspeed Faction, Animoca Brands, Fenbushi Capital, Gnosis DAO, Bas1s Ventures, A41, and GSR Markets LTD.
#Web3#AI#Funding#Flock#DigitalCurrencyGroup#LightspeedFaction#AnimocaBrands#FenbushiCapital#GnosisDAO#Bas1sVentures#A41#GSRMarkets
Innovative Startups Raise Millions in Funding
A roundup of recent startup funding successes:
- Xiao Shangquan: $4.12M on Dec 16 for an ad investment platform for local merchants. Learn more
- Takumi Giken Kogyo: $3.26M on Dec 17, aims to innovate manufacturing while addressing social issues. Learn more
- FLock.io: $3M on Dec 19, building a decentralized privacy-preserving AI solution. Learn more
- Proxgy: $3M on Dec 26, creating a comprehensive ecosystem for global industries. Learn more
- RadioNano Therapeutics: $954.66K on Dec 25, advancing new cancer treatments from Kyoto University. Learn more
- Abastores: $788.78K on Dec 16, legal service for suppliers. Learn more
- EduCare: $778.73K on Dec 16, financing education and career support. Learn more
- Inyanga Marine Projects: $640.27K on Nov 29, specializing in tidal array technology. Learn more
- Kloutit: $559.69K on Dec 19, using AI to enhance chargeback defenses. Learn more
- EnviraBoard: $538.97K on Nov 30, focused on carbon-negative building materials. Learn more
#Funding#Investment#XiaoShangquan#TakumiGikenKogyo#FLock#Proxgy#RadioNano#EduCare#InyangaMarine#Kloutit#EnviraBoard#AI#Crypto#VC