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

Пребарај: #catchain2

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

@CryptoM · Post #64742 · 09.04.2026 г., 17:17

🚀 TON's Catchain 2.0 Upgrade Enhances Speed and Validator Rewards TON has announced the implementation of its Catchain 2.0 consensus upgrade, which significantly improves transaction speed and validator incentives. According to NS3.AI, the upgrade reduces block times to 400 milliseconds and accelerates payment settlement to approximately one second. Additionally, the change is expected to increase annual inflation to 3.6%, up from around 0.6%, as the faster block production boosts rewards for validators. #TON#Catchain2.0 #Blockchain#ConsensusUpgrade#TransactionSpeed#ValidatorRewards#Cryptocurrency#CryptoNews#BlockchainTechnology#DeFi

Crypto M - Crypto News

@CryptoM · Post #64902 · 10.04.2026 г., 08:17

🚀 TON Declines Over 24% Year-to-Date Despite Wallet Accumulation and Network Upgrade TON has experienced a decline of over 24% since the beginning of the year. According to NS3.AI, despite this downturn, the top 100 wallets have accumulated an additional 189,730 TON in the past three months. This week, TON implemented the Catchain 2.0 upgrade, which has reduced confirmation times to less than one second for Telegram mini-apps, payments, and high-frequency activities. The network's seven-phase roadmap includes plans for future fee reductions. #TON#cryptocurrency#blockchain#wallets#networkupgrade#Catchain2#Telegram#cryptoaccumulation#feereduction#highfrequencytransactions