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

Пребарај: #kton

当前筛选 #kton清除筛选
TONlines – News

@tonlines · Post #6793 · 16.04.2025 г., 10:24

⚡️The Daily TON: KTON Protocol Transformations #KTON#TON The Daily TON discusses the advancements of the KTON protocol at the Web3 Festival. Dr. Awesome Doge introduced the V2 Contract for KTON, enhancing protocol performance and liquidity management. Aiming for higher yields, KTON aspires to increase TON staking rates and expand from Asia to the USA. Source: link @tonlines

Hashtags

TONlines – News

@tonlines · Post #7434 · 29.05.2025 г., 13:08

⚡️STON.fi Introduces KTON to Enhance DeFi Experience #KTON#DeFi STON.fi has announced the integration of KTON, allowing users to stake Toncoins and receive KTON tokens. This initiative enables participants to earn rewards while engaging in DeFi activities like swaps and lending, positioning STON.fi as a leader in DeFi evolution. Source: link @tonlines

Hashtags

Venture Village Wall 🦄

@venturevillagewall · Post #3991 · 26.01.2025 г., 16:00

KTON Targets $6.12B Liquid Staking Market KTON, a liquid staking protocol by TONX, is set to launch V1 in February, aiming for a significant market expansion in the $6.12 billion liquid staking sector on TON. With Telegram's full support for TON, KTON plans to allow users to stake TON while earning KTON tokens, offering institutional-grade security. The project sees a potential growth from the current liquid staking market of $377 million to match Ethereum's levels, aiming for an 18-fold increase. KTON integrates with leading DEXs like Ethena and Curve Finance to provide flexible income strategies in the DeFi space. #KTON#TON#Staking#LiquidStaking#Blockchain#DeFi#Crypto#Institutional#Investment#Tech#Finance#Ethereum#Telegram#VC#MarketGrowth#Solana#TONX#Security#Innovation#Ecosystem