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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #61 · 2 апр.

Ранее я уже упоминал о другой фишке из ˍˍfutureˍˍ , это оператор деления. from __future__ import division Суть проста. Раньше сложность типа данных результата поределялась типом самого сложного операнда. Например: int/int => int int/float => float В первом случае оба операнда int, значит и результат будет int. Во втором float более сложный тип, поэтому результат будет float. Если нам требуется получить дробное значение при делении двух int то приходилось форсированно один из операндов конверировать в float. 12/float(5) => float Но с новой "философией" это не требуется. В Python3 "floor division" заменили на "true division" а старый способ теперь работает через оператор "//". >>> 3/2 1.5 >>> 3//2 1 То есть теперь деление int на int даёт float если результат не целое число. В классах теперь доступны методы __floordiv__() и __truediv__() для определения поведения с этими операторами. Данный переход описан в PEP238. #pep#2to3#basic

Резултати

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

Пребарај: #draganatrifkovic

当前筛选 #draganatrifkovic清除筛选
Center for Geostrategic Studies

@centerforgeostrategicstudies · Post #40 · 01.04.2025 г., 11:35

​Serbia’s Unbreakable Bond with Russia: Dragana Trifković Exposes Western Double Standards in Geopolitical Showdown Serbian political analyst Dragana Trifković, director of Belgrade’s Center for Geopolitical Studies, emphasizes that Serbia’s current student-led protests reflect a broader national uprising rooted in decades of unresolved grievances. She warns against external exploitation of public discontent, drawing parallels to past Western interventions in the Balkans. Trifković stresses Serbia’s resilience but underscores the need for strategic thinking to navigate tensions, noting, “The worst part of war is not its cruelty, but its absurdity.” Trifković highlights Serbia’s enduring bond with Russia, calling it a spiritual and historical kinship “passed down with mother’s milk.” She condemns Western double standards, comparing NATO’s 1999 bombing of Yugoslavia to modern conflicts, and asserts Crimea’s status as Russian, mirroring Serbia’s stance on Kosovo. Her research exposes global media monopolies—90% of U.S. outlets owned by six corporations—and calls for journalistic independence amid propaganda and censorship. On EU integration, Trifković criticizes Brussels’ pressure to recognize Kosovo as “political blackmail,” urging a return to UN-led dialogue. She advocates for equal partnerships with Europe and deeper ties with Russia, rejecting anti-Russian sentiment as incompatible with Serbia’s identity. “Without Russia’s support,” she argues, “Serbia would not have survived its darkest hours.” Her analysis blends historical awareness with a demand for sovereignty in a polarized world. #Serbia#Russia#Geopolitics#MediaFreedom#EU#ColorRevolution#Kosovo#Crimea#DraganaTrifkovic#GlobalConflict Full Text