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

Пребарај: #aviationfuel

当前筛选 #aviationfuel清除筛选

የአውሮፓ ኅብረት የአውሮፕላን ነዳጅ እጥረት ለመቋቋም የሚያስችል ዕቅድ ይፋ ሊያደርግ ነው ************************** በመካከለኛው ምስራቅ አሜሪካ እና እስራኤል ከኢራን ጋር የገቡበት ጦርነት በአውሮፓ አየር መንገዶች ላይ የነዳጅ አቅርቦት እጥረት ስጋት ደቅኗል። ይህንን ችግር ለመቅረፍም የአውሮፓ ኅብረት ልዩ የመፍትሄ ዕቅድ እያዘጋጀ መሆኑን የህብረቱ ባለሥልጣናት መግለጻቸውን ሮይተርስ ዘግቧል። ኅብረቱ የነዳጅ ማጣሪያዎችን የማምረት አቅም ለማሳደግና የአቅርቦት ሰንሰለቱን ለማረጋጋት የሚያስችል ረቂቅ ሰነድ እያዘጋጀ ይገኛል። የአውሮፓ ኮሚሽን ከሚቀጥለው ወር ጀምሮ በአባል ሀገራቱ የሚገኙ የነዳጅ ማጣሪያዎችን የማምረት አቅም በዝርዝር የሚያጠና ሲሆን፣ ያሉትን ማጣሪያዎች ሙሉ በሙሉ ጥቅም ላይ እንዲውሉ የሚያስችሉ እርምጃዎችን ይወስዳል ተብሎ ይጠበቃል። አውሮፓውያን 75 በመቶ የአውሮፕላን ነዳጅ የሚያስመጡት ከመካከለኛው ምስራቅ በመሆኑ፣ ኅብረቱ አሁን ላይ የገጠመውን እጥረት ለመቅረፍ አማራጭ መፍትሄዎችን ለመመልከት ተገዷል። ዓለም አቀፉ የኢነርጂ ኤጀንሲ (IEA) በበኩሉ አውሮፓ ከመካከለኛው ምስራቅ የሚያገኘውን ነዳጅ ቢያንስ በግማሽ መተካት ካልቻለ፣ እስከ ሰኔ ወር ድረስ የክረምቱን የጉዞ ወቅት የሚያስተጓጉል ከፍተኛ እጥረት ሊያጋጥመው እንደሚችል ስጋቱን ገልጿል። በመሀመድ ፊጣሞ Ethiopian Broadcasting Corporation #Europe#AviationFuel#EnergyCrisis#IEA#EBC

Crypto M - Crypto News

@CryptoM · Post #64535 · 09.04.2026 г., 06:35

🚀 U.S. March CPI Expected to Rise Amid Ongoing Iran Conflict The market widely anticipates that the U.S. Consumer Price Index (CPI) for March will increase by 3.4%, surpassing last month's 2.4%, marking the largest year-on-year rise in two years. According to Jin10, during past oil market shocks, the most likely commodities to see price hikes include aviation fuel, steel, aluminum, natural gas, fertilizers, and plastics. Industries reliant on these materials are already feeling the strain. The ongoing Iran conflict, which has lasted several weeks, has shifted concerns from the initial oil price surge to the compounded effects of a prolonged conflict. For many economists, the most alarming aspect is not the immediate issues but the "aftershocks" that may emerge months or even years later. JPMorgan's CEO has referred to inflation as a potential "fly in the ointment" that could undermine stock market returns in 2026. Harvard University professor and former IMF chief economist Ken Rogoff recently discussed an overlooked impact of the war: the increased military spending's effect on the already strained U.S. budget deficit. He noted the risk of soaring bond yields, which could harm the stock market and affect U.S. affordability. Rogoff also mentioned that the current supply disruptions caused by the Iran conflict are sufficient to keep oil prices elevated for a year. #USCPI#inflation#IranConflict#oilprices#aviationfuel#steel#aluminum#naturalgas#fertilizers#plastics#economicimpact#stockmarket#JPMorgan#budgetdeficit#militaryspending#bondyields#HarvardEconomist#supplydisruptions#USaffordability