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

Пребарај: #peacetalkscollapse

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

@CryptoM · Post #65355 · 13.04.2026 г., 02:09

🚀 JGBs Decline Amid Inflation Concerns Following U.S.-Iran Peace Talks Collapse Japanese Government Bonds (JGBs) experienced a decline as renewed inflation concerns emerged after the failure of peace talks between the United States and Iran. Wall Street Journal (Markets) posted on X that the breakdown in negotiations has heightened geopolitical tensions, contributing to market volatility. The unsuccessful talks have led to increased uncertainty in the global markets, with investors worried about potential disruptions in oil supply and subsequent inflationary pressures. This has prompted a sell-off in JGBs as investors seek safer assets. Analysts suggest that the geopolitical instability could lead to further fluctuations in bond markets, as traders adjust their portfolios in response to the evolving situation. The impact of these developments on the broader financial markets remains to be seen, with attention now focused on potential diplomatic efforts to resolve the tensions. #JGBs#InflationConcerns#USIranTalks#PeaceTalksCollapse#GeopoliticalTensions#MarketVolatility#OilSupply#BondMarkets#FinancialMarkets#Investors#MarketFluctuations