@borkena · Post #5895 · 01.03.2026 г., 05:36
የራያ ማንነት አስመላሽ ኮሚቴ ጋር የተደረገ ቃለ ምልልስ https://youtu.be/-0cPFDyO4vE?si=LVIFxNROa-Qg0zt9#raya#Tigray#Ethiopia#politics
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #418 · 9 мар.
Оператор pipe позволяет писать более компактный код, реализуя логику объединения данных (Union). Важно помнить, что его поведение зависит от контекста. Побитовые операции (логическое OR) result = 5 | 3 # 5 (0101) | 3 (0011) = 7 (0111) Самое главное - не путать с оператором or, это другое! Объединение множеств set_a = {1, 2, 3} set_b = {3, 4, 5} set_c = set_a | set_b # {1, 2, 3, 4, 5} set_c |= {5, 6} # {1, 2, 3, 4, 5, 6} Слияние словарей dict_1 = {"a": 1, "b": 2} dict_2 = {"b": 3, "c": 4} merged = dict_1 | dict_2 # {'a': 1, 'b': 3, 'c': 4} merged |= {"d": 5} # {'a': 1, 'b': 3, 'c': 4, 'd': 5} Аннотации типов, заменяет Union def process_data(value: int | str) -> None: print(value) Допустимо использовать в isinstance или issubclass isinstance(3, int | float) # True Паттерн-матчинг status_code = 404 match status_code: case 200 | 201 | 204: print("OK") case 400 | 404 | 500: print("ERROR") Для использования в своих классах требуется переопределить метод __or__ Так же нашел библиотеку pipe которая добавляет еще много возможностей. Рекомендую ознакомиться ;) #basic
Hashtags
Пребарај: #raya
@borkena · Post #5895 · 01.03.2026 г., 05:36
የራያ ማንነት አስመላሽ ኮሚቴ ጋር የተደረገ ቃለ ምልልስ https://youtu.be/-0cPFDyO4vE?si=LVIFxNROa-Qg0zt9#raya#Tigray#Ethiopia#politics
@borkena · Post #5671 · 01.01.2026 г., 15:15
Why the World Misunderstands Wolkait and Raya. Read more. https://borkena.com/2026/01/01/ethiopia-why-the-world-misunderstands-wolkait-and-raya/#Ethiopia#Wolkait#Raya#politics
@borkena · Post #5840 · 24.02.2026 г., 11:29
ከወሎ ራያ አማራ ማንነትና ወሰን አስመላሽ ኮሜቴ #Ethiopia#Wello#Raya#ዜና#HouseofFederation
@borkena · Post #5835 · 23.02.2026 г., 17:02
የፌደሬሽን ምክር ቤት በወልቃይት እና ራያ ጉዳይ ላይ ያሳለፈው ውሳኔ እና ያስከተለው ውዝግብ https://youtu.be/6-VMdjC00-s?si=WaToTw2UC25ZoUKO#Ethiopia#News#Wolkait#humera#Raya#Tigray#ዜና
@addisstandardeng · Post #21370 · 11.02.2026 г., 12:55
News: #Amhara security bureau alleges #TPLF, #Eritrea involvement in ongoing conflicts The Amhara Regional State Peace and Security Bureau has alleged that ongoing conflicts in the Amhara region and elsewhere in #Ethiopia are receiving what it described as “leadership and logistical support from #Mekelle and #Asmara,” referring to the Tigray People’s Liberation Front (TPLF) and Eritrean government. In a statement released yesterday, the bureau said the public “must understand the reality” that the fighting is not only against groups it characterized as “extremists” but also involves what it described as internal and external actors. The statement further alleged that a group seeking control over the areas of #Wolkait, #Telemt, and #Raya had assigned what it called a mission to “internal extremist forces” and was mobilizing them to advance that objective. According to the bureau, the strategy aims to create conflicts across various zones and districts to... Read more: https://addisstandard.com/?p=55148