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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #273 · 26 јул.

В стандартном модуле random есть две очень похожие функции random.randint() random.randrange() Обе возвращают случайное значение из указанного диапазона >>> random.randint(10, 20) 12 >>> random.randrange(10, 20) 17 В чем же отличие? Дело в том что у randrange() есть третий параметр step. randint() действительно возвращает случайное число из указанного диапазона. randrange() на первый взгляд делает тоже самое если передать также два параметра. Но есть указать еще и step то наш диапазон усложняется, то есть в него попадёт не полный ряд значений. Например, я хочу получить случайное значение из диапазона но только чётное число. Тогда достаточно сделать так: >>> randrange(10, 20, 2) 16 Таким образом получается что randint это частный случай randrange без указания параметра step. Еще одно важное отличие в том, что randint() включает в диапазон второе значение а randrange() нет. То есть выражение randrange(10, 20) никогда не вернёт 20, а randint(10, 20) вернёт. #tricks#basic

Резултати

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

Пребарај: #tplf

当前筛选 #tplf清除筛选
Addis Standard

@addisstandardeng · Post #21267 · 31.01.2026 г., 18:15

#TPLF welcomes #AU call for restraint, reaffirms commitment to dialogue The Tigray People’s Liberation Front (TPLF) has welcomed a call by the Chairperson of the African Union Commission, Mahmoud Ali Youssouf, urging restraint amid renewed tensions in Ethiopia’s Tigray region, reaffirming that dialogue remains the only viable path to resolving outstanding issues with the federal government. In a letter sent late on Saturday and addressed to the AU Commission Chairperson, the TPLF said it appreciates the African Union’s engagement in support of peace and stability in Ethiopia, noting that it takes “positive note” of the AU’s concern over recent developments in Tigray. The party further expressed its readiness to engage constructively in any dialogue initiative facilitated by the African Union, including through the AU High-Level Panel on Ethiopia, aimed at advancing “peace, confidence-building, and reconciliation.” https://addisstandard.com/tplf-welcomes-au-call-for-restraint-reaffirms-commitment-to-dialogue/

Hashtags

Addis Standard

@addisstandardeng · Post #21623 · 05.03.2026 г., 15:34

News: #Tigray rebels say #Ethiopian troops preparing for war Ethiopian federal authorities are preparing "to wage a war against Tigray," a senior official from this northern regional state told AFP on Wednesday, raising fears of a new conflict. Tigray emerged in 2022 from a two-year war that saw federal forces, backed by militias and the Eritrean army, clash with rebels from the Tigray People's Liberation Front (#TPLF). The TPLF dominated Ethiopian politics for some 30 years before current Prime Minister Abiy Ahmed, a non-Tigrayan, took power in 2018. At least 600,000 people were killed in the conflict, according to estimates from the African Union. A ceasefire held for more than two years, but clashes between federal and Tigrayan forces broke out again in November 2025 and January 2026. Large numbers of federal troops have for several weeks been massed at the Tigray border, where.... https://web.facebook.com/AddisstandardEng/posts/pfbid023a9Gk4wS4Zc9q1exiF73ypsGSrQ1ubLT6Pg7Hv5gRNoJDmMEsv8KpNyvcM73Nq8il

Borkena

@borkena · Post #5214 · 08.11.2025 г., 03:01

TPLF Alleges Federal Gov’t “Carried Out Drone Strike on Tigray Forces” Read more. https://borkena.com/2025/11/07/tplf-alleges-federal-govt-carried-out-drone-strike-on-tigray-forces/#Ethiopia#TPLF#Afar

Addis Standard

@addisstandardeng · Post #21794 · 21.03.2026 г., 10:17

#Op_ed: Ghosts of Governance: Opposition paralysis, failure of political imagination in post-war #Tigray The most dangerous moment for a post-war society is when paralysis becomes normal, “a condition that has gripped Tigray for too long,” writes Getachew Gebrekiros Temare. He argues, “War destroyed infrastructure, displaced millions, and shattered institutions,” yet the deeper crisis remains political. Factionalism within the #TPLF and fragmentation among opposition parties have left society without coherent leadership. Opposition rhetoric often functions as controlled dissent rather than driving meaningful change. He notes, “The cumulative consequences of fragmentation, pseudo-analysis, and political hesitation are now impossible to ignore.” Getachew emphasizes that the solution requires “the emergence of a political movement grounded in public interest rather than personal ambition.” https://addisstandard.com/?p=55998

ПретходнаСтраница 1 од 5Следна