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

Резултати

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

Пребарај: #malanga

当前筛选 #malanga清除筛选
Egountchi Behanzin Officiel

@egountchibehanzinOfficiel · Post #6337 · 19.05.2024 г., 09:33

CONGO 🇨🇩 L'identité des auteurs de l'attaque ce dimanche matin dans la capitale congolaise révélée. Des images tournées par les assaillants montrent M. Christian #Malanga, membre de la diaspora congolaise résidant aux États-Unis, qui a toujours prôné le retour au #Zaïre, accompagné de son fils et de quelques personnes portant des armes à l’intérieur du Palais de la Nation. Dans une video , les assaillants ont déclarés qu’à partir d’aujourd’hui, "la RDC n'existe plus, c’est le Zaïre". @egountchibehanzinTV

MessageInABottle

@mib_messageinabottle · Post #6832 · 20.05.2024 г., 15:22

Three US citizens are accused of being involved in a failed coup attempt in #Congo that left multiple people dead. According to the Democratic Republic of Congo (#DRC) military, they stopped an attempted #coup near the presidential palace. Among the 50 people who were involved were three Americans who have been arrested. A passport for one of these Americans is now spreading online, a 36-year-old U.S. citizen born in Maryland. (WaPo) #US#Ambassador to Congo, Lucy #Tamlyn has acknowledged the involvement of US citizens in a recent statement. The coup was allegedly led by US-based Congolese politician Christian #Malanga. He was killed at the presidential palace after he resisted arrest.