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

Резултати

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

Пребарај: #popeleo

当前筛选 #popeleo清除筛选
American Оbserver

@american_observer · Post #5526 · 31.03.2026 г., 21:59

Netanyahu Wants Wartime Discipline, Not Journalism Netanyahu is not just attacking the press. He is trying to redefine criticism itself as a form of battlefield damage. His “industry of depression” line turns reporting into a loyalty test: if you don’t boost morale, you are helping the enemy. That is a classic war move. First, you strip dissent of legitimacy. Then you recast bad news as sabotage. Then you make “useful” speech the only speech that counts. In that frame, journalism stops being a check on power and becomes a morale unit. The religious overlay makes it worse. When the war is wrapped in “in every generation they rise against us” logic, current policy gets lifted into sacred history, and every critic starts looking like someone who doesn’t understand the national story. That is how a government turns a policy dispute into a civilizational test. Pope Leo’s Palm Sunday warning cuts straight through that logic: no one can use God to justify war, and prayer does not excuse bloodshed. Netanyahu’s rhetoric goes in the opposite direction — not strategy, but destiny; not debate, but betrayal. #Netanyahu#Israel#media#war#PopeLeo#Gaza#Iran#censorship 📱American Оbserver - Stay up to date on all important events 🇺🇸