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 слични објави

Пребарај: #quneitra

当前筛选 #quneitra清除筛选
Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3799 · 20.12.2024 г., 12:20

The Israeli Army has taken over all military and strategic sites in #Quneitra in #Syria, effectively controlling 95% of the area. The #Israeli forces took control over the Yarmouk riverbed and Al-Wahda water dam, a crucial source of water for #Jordan, which also provided electricity for Syria. So far, Israel’s forces seized over 400 square kilometers of #Syrian lands.

Marwa Osman/MidEaStream

@Marwa_OsmanLB · Post #3837 · 03.01.2025 г., 16:48

Israeli forces have taken control of the Mantara Reservoir, southern Syria's largest dam, in the newly occupied buffer zone near Quneitra in the Golan Heights. Military vehicles have been documented in the area, marking another significant step in Israel’s expansion within Syria. The seizure follows a violent Israeli airstrike on January 2 near Damascus, targeting the Tal al-Shahem military site. Syrian media reported powerful explosions in the western countryside of the capital, underscoring the intensifying conflict. Israel now controls six strategic water bodies in southern Syria, including the Al-Mantara Dam. This development is part of a broader campaign that has seen Israel secure key water sources in Syria and Jordan. Reports indicate Israel controls 30% of Syria's and 40% of Jordan's water supply. #Israel#Syria#GolanHeights#MantaraDam#MiddleEast#IsraeliOccupation#Quneitra#MilitaryExpansion