TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #84 · 13 мај

В продолжение прошлого поста про цифры в мире строк. Почему методы 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

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #popeleo

当前筛选 #popeleo清除筛选
American Оbserver

@american_observer · Post #5526 · 31.03.2026 г., 21:59

Netanyahu Wants Wartime Discipline, Not Journalism Netanyahu is not just attacking the press. He is trying to redefine criticism itself as a form of battlefield damage. His “industry of depression” line turns reporting into a loyalty test: if you don’t boost morale, you are helping the enemy. That is a classic war move. First, you strip dissent of legitimacy. Then you recast bad news as sabotage. Then you make “useful” speech the only speech that counts. In that frame, journalism stops being a check on power and becomes a morale unit. The religious overlay makes it worse. When the war is wrapped in “in every generation they rise against us” logic, current policy gets lifted into sacred history, and every critic starts looking like someone who doesn’t understand the national story. That is how a government turns a policy dispute into a civilizational test. Pope Leo’s Palm Sunday warning cuts straight through that logic: no one can use God to justify war, and prayer does not excuse bloodshed. Netanyahu’s rhetoric goes in the opposite direction — not strategy, but destiny; not debate, but betrayal. #Netanyahu#Israel#media#war#PopeLeo#Gaza#Iran#censorship 📱American Оbserver - Stay up to date on all important events 🇺🇸