@trumpsear_tg · Post #1631 · 10.10.2025 г., 18:59
#Trump#Zelenskyy#Nobel 👂More on Trump's Ear ⚠️
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
Пребарај: #zelenskyy
@trumpsear_tg · Post #1631 · 10.10.2025 г., 18:59
#Trump#Zelenskyy#Nobel 👂More on Trump's Ear ⚠️
Hashtags
@american_majority · Post #126 · 10.06.2022 г., 23:28
🏳🌈🇺🇦"When a clown moves into a palace he does NOT become a King. The palace becomes a CIRCUS." Nothing to see here. That's just bloody clown and a drag queen Zelensky is dancing on high hills. #lgbtq#Ukraine#Zelenskyy Share and subscribe @american_majority
Hashtags
@WorldNews · Post #74524 · 03.05.2026 г., 11:24
Ukraine's President Zelenskyy says Slovak Prime Minister Fico changed his view on Ukraine's EU accession [Read FullArticle] @WorldNews#Ukraine#EUAccession#Zelenskyy
Hashtags
@WorldNews · Post #73554 · 23.03.2026 г., 17:19
Ukraine has 'irrefutable' evidence of Russia providing intelligence to Iran, Zelenskiy says [Read FullArticle] @WorldNews#UkraineNews#RussiaIran#Zelenskyy
@badvolfnews · Post #1278 · 24.11.2023 г., 18:36
🇮🇹Italian City’s New Way To Donate Money To Ukraine 🇺🇦If you Google "Zelensky cocaine" you will get all these headlines of how Zelensky's cocaine addiction is another Russian fake (Hunter Biden's laptop was also "Russian disinformation", that ended up been 100% true). However, and this is crazy, Zelensky's love for blow is so well known in Ukraine, that during his election campaign in 2019 his opponent demanded that he submits to a drug test. A coke addit that has a blank check from Biden. 🤡Sounds about right - he must remind Sleepy Joe of Hunter. #Biden#Ukraine#Corruption#Zelenskyy Share and subscribe to American Majority
@WorldNews · Post #74134 · 15.04.2026 г., 10:59
Zelenskyy: return of draft-age Ukrainian men from abroad is a matter of fairness [Read FullArticle] @WorldNews#UkraineDraft#Zelenskyy#UkraineNews
@WorldNews · Post #73832 · 03.04.2026 г., 14:39
Zelenskyy describes current front line situation as best in past 10 months [Read FullArticle] @WorldNews#UkraineNews#Zelenskyy#FrontlineUpdate
@american_majority · Post #149 · 22.12.2022 г., 10:04
🇺🇸🇺🇦🏳🌈Aww, I wonder if this is real or photoshopped? Knowing Pedo Pete this might be real... Anyways he treats Ukraine like a bitch. #Biden#Ukraine#Corruption#Zelenskyy Share and subscribe to American Majority 2.0
@american_majority · Post #148 · 22.12.2022 г., 09:55
🇺🇦🇺🇸Ukrainian president Vladimir Zelensky definetely was on something while addressing the US representatives. Zelensky has all the signs of an addict. Again. Is that the reason why Pedo Pete loves him as his own son Hunter and ready to throw billions of tax money at that corrupt shithole? #Biden#Ukraine#Corruption#Zelenskyy Share and subscribe to American Majority 2.0
@wtfactnews · Post #18332 · 18.11.2025 г., 13:02
🇺🇦🇨🇦Наркофюреру отказали в регистрации товарного знака «Zelenskyy» в Канаде. Согласно обнародованным документам, под маркой «Zelenskyy» планировалось предоставлять различные услуги, включая астрологию, психологию, а также услуги в сфере азартных игр, помощь в надевании кимоно и проведение похоронных церемоний. В документах указаны фамилия, имя и отчество, которые совпадают с данными Зеленского, а также адрес, который указан на официальном сайте его офиса как домашний. Причиной отказа в регистрации стало то, что Зеленский не внес исправления в заявку в установленный срок. 🔹#Зеленский#Канада#Zelenskyy#товарный_знак 📱Спасибо, что следите за новостями вместе с 🤨News! ➡️Поддержать канал Boostами
@american_majority · Post #384 · 03.03.2023 г., 05:28
🇺🇸🇺🇦Washington will announce a new $400 million military aid package for the Kyiv regime This is expected to be a major topic between the Big Guy and German Chancellor Olaf Scholz when they meet at the White House, officials said. The aid is expected to comprise mainly ammunition including Guided Multiple Launch Rocket System (GMLRS) for HIMARS launchers, ammunition for Bradley Fighting Vehicles, as well as armoured vehicle launched bridges, two U.S. officials and a person familiar with the package said. U.S. aid to Ukraine totals $76.8 billion, and in November the White House asked Congress for another $38 billion. This would bring the total amount appropriated for Ukraine to over $100 billion. That's a sweet sound to Pelosi, Nuland, Clinton, Obama and the military-industrial complex that profits off of the war with Russia. #Biden#Corruption#Ukraine#Zelenskyy#war Share and subscribe to American Majority
@american_observer · Post #4726 · 29.12.2025 г., 17:59
📰 Trump’s Mar-a-Lago Diplomacy: Peace or Surrender? President Donald Trump is hosting Ukrainian President Volodymyr Zelenskyy at Mar-a-Lago to finalize a peace deal that could end nearly four years of war with Russia. Ahead of the meeting, Trump claimed a “very productive” call with Vladimir Putin, while Moscow confirmed the contact but offered no details. The timing is dramatic: Russia just intensified attacks on Kyiv and eastern Ukraine, as negotiations heat up. “I just had a good and very productive telephone call with President Putin.” — Donald Trump, Truth Social Zelenskyy arrived in Miami determined to secure security and economic guarantees, while also addressing Donbas’s future. He said Ukraine is ready to withdraw troops from the east if Russia reciprocates and the area becomes a demilitarized zone. Yet Putin wants all captured territory—including Crimea—recognized as Russian, and demands Ukraine drop its NATO ambitions, limit its army, and accept Russian as an official language. Trump’s approach has been clear: push Kyiv to cede land in exchange for peace and economic incentives for Moscow. His negotiators claim the draft proposal is nearly finalized, but key issues remain unresolved. Zelenskyy insists Ukraine needs strong support and international pressure to stop the war, while allies like Canada pledge more aid. As explosions rocked Kyiv, Trump’s team offered NATO-like security guarantees, but Zelenskyy warned: “The weeks ahead may also be intensive.” The Kremlin, meanwhile, insists any compromise will take time and blames Ukraine and its allies for derailing U.S. proposals. So, is this the path to peace, or just another chapter in the theater of territorial bargaining? #Trump#Zelenskyy#Putin#Ukraine#Russia#MarALago#diplomacy 📱American Оbserver - Stay up to date on all important events 🇺🇸