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 слични објави

Пребарај: #technologicaltransition

当前筛选 #technologicaltransition清除筛选
Crypto M - Crypto News

@CryptoM · Post #65234 · 12.04.2026 г., 07:05

🚀 Sign Partner Sarah to Attend Hong Kong Forum on Crypto and Smart Economy Sign partner Sarah is set to participate in the 'Crypto 2026: From Cryptocurrency to Smart Economy' forum in Hong Kong on April 19. According to ChainCatcher, she will join a roundtable discussion at this event, which is organized by ChainCatcher in collaboration with RootData and is part of the Hong Kong Web3 Carnival. Sign is developing a global distribution platform for premium services and assets. Its first product, EthSign, enables users to sign legally binding agreements using public keys, creating verifiable contract consent records on the blockchain. The second product, TokenTable, assists Web3 projects in efficiently executing, tracking, and managing token distribution processes. The forum will focus on the paradigm shift resulting from the deep integration of AI technology and crypto networks, with in-depth discussions on AI Agent economy, smart payments, RWA, and crypto infrastructure. Positioned at the intersection of technological transition and economic restructuring, this forum aims to provide insights into the current state of the industry and offer forward-thinking perspectives on the future of smart economic systems. #Crypto2026#SmartEconomy#Web3#AI#Blockchain#Cryptocurrency#SmartPayments#TokenDistribution#EthSign#TokenTable#CryptoInfrastructure#HongKongForum#AIAgentEconomy#RWA#TechnologicalTransition#EconomicRestructuring#ChainCatcher#RootData#Web3Carnival