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

Резултати

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

Пребарај: #barrios

当前筛选 #barrios清除筛选
Venezuelanalysis

@venanalysis · Post #2340 · 18.04.2026 г., 20:52

🖊🗞COLUMN | Self-Management in Cota 905: From the Most Dangerous Barrio to an Open Air Art Gallery VA columnist Jessica Dos Santos documents how a grassroots initiative is helping Cota 905 overcome its stigma of armed gangs and police violence. Between 2014 and 2021, Cota 905 in Caracas was under the control of armed gangs, impacting around 300,000 residents and limiting access to services. In 2021, the government launched Operation Gran Cacique Indio Guaicaipuro, deploying 34 checkpoints as part of a large-scale security intervention. Following these events, a community initiative called “The Cota 905 Tour: A Thousand Stories, Over a Hundred Murals, One Route” was developed. The project includes more than 100 murals and was created with participation from residents, artists, and local collectives. It has been officially recognized by Venezuela’s Ministry of Tourism. Read the full VA column here: https://venezuelanalysis.com/columns/self-management-cota-905-from-the-most-dangerous-barrio-to-an-open-air-art-gallery #Barrios#Cota905#TalesofResistance

Ultimora.net - POLITICS

@ultimoraPOLITICS · Post #39553 · 16.05.2022 г., 18:00

#Sondaggi#USA#Governative#Texas Sondaggio di UTT: Greg #Abbott (#R|ECR): 46% (+1) Beto #ORourke (#D|Centro-sinistra): 39% (+1) Delilah #Barrios (#GPUS|Verdi): 3% (+3) Mark Jay #Tippetts (#LP|Libertari): 3% (+3) Qualcun altro: 8% (-8) Non lo so: 2% (+1) Data rilevazione: 2-10 maggio +/-: 8-15 febbraio Intervistati: 1232 @UltimoraPolitics