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

Резултати

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

Пребарај: #combat

当前筛选 #combat清除筛选
KizlyarSupreme

@kizlyarsupreme · Post #1262 · 28.02.2025 г., 12:01

Combat от Kizlyar Supreme Модель создана на основе Vector с более коротким клинком. Прототип можно посмотреть и подержать в руках на выставке. #Expo#Combat

Hashtags

Voir de ses propres yeux

@voir_yeux · Post #11669 · 09.02.2026 г., 11:01

🇸🇰🇨🇿 Le combattant slovaque de MMA Pavol Vasko a mordu l'oreille du Tchèque Vaclav Mikulasek lors d'un combat en République tchèque, indique le journal The Sun. Vasko a ensuite été pris à partie par des spectateurs à l'extérieur de l'octogone. L'un d'eux lui a lancé une chaise, le touchant à la tête. Il a été contraint de quitter l'arène. #mma#combat#tchéquie

NIDO Russia (НИДО)

@nido_russia · Post #1720 · 20.07.2024 г., 17:42

🇳🇬🇷🇺 This is our brother, our member, and just one of many, who have volunteered themselves (NOT conscripted, and NOT forced) to help Russia in the special military operation. We are in constant communication regarding his welfare. Nigerians surely love Russia. We not only contribute to the economy, and engage in cultural exchange, but many are also prepared to put themselves on the frontline and in the combat zone because frankly we all share common security/welfare and believe in the international principle of indivisible security. God be with you Brother! Victory is ours! Dr. Godwin Ibe, Chairman, NIDO Russia Subscribe:@nido_russia https://t.me/nido_russia/1720 #smo#сво#russia#ukraine#nato#Nigeria#Russia#festival#concert#combat