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

Пребарај: #winklevoss

当前筛选 #winklevoss清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #4086 · 06.02.2025 г., 22:00

Solana ETF Filing Acknowledged by SEC The SEC has officially recognized the Solana ETF 19b-4 filing, marking a significant shift from previous decisions. Meanwhile, Wisdomtree, Bitwise, and 21Shares have submitted an application for an XRP ETF with the CBOE. In blockchain news, Alexey Pertsev, co-founder of Tornado Cash, is set to be released under electronic monitoring on February 7, allowing him to work on his appeal. Additionally, cryptocurrency exchange Gemini is considering an IPO this year as it prepares to return at least $1.1 billion to customers amid the Genesis Global Capital bankruptcy process. Monthly trading volume across all DEXs reached an all-time high of $562.7 billion in January 2025. #SEC#Solana#ETF#XRP#Gemini#IPO#TornadoCash#Crypto#Blockchain#DeFi#DEX#Winklevoss#Finance#Cryptocurrency#Investing#Regulation#MarketUpdates#Tech#Innovation#VC

Venture Village Wall 🦄

@venturevillagewall · Post #4335 · 08.03.2025 г., 01:00

Coinbase Expands Listings Amid Positive Crypto News Coinbase adds Aethir (ATH) and Syrup (SYRUP) to listing roadmap. Aethir is a decentralized yield aggregator; Syrup enhances institutional digital asset lending. In related news, Gemini, the crypto firm of the Winklevoss twins, confidentially files for IPO with Goldman Sachs, Citigroup support; public offering may happen this year. Additionally, the top US banking regulator rescinds digital asset restrictions, allowing banks to engage in crypto custody and stablecoin activities. Trump's administration pursuing strategies to increase U.S. Bitcoin reserves. #Coinbase#Aethir#Syrup#Gemini#IPO#Winklevoss#Crypto#Bitcoin#Finance#Regulation#US#Banking#Custody#Stablecoins#DigitalAssets#DeFi#VC#Trump#CryptoNews#MarketUpdates