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

Резултати

Пронајдени 7 слични објави

Пребарај: #change

当前筛选 #change清除筛选
Amazing Geography 🌍

@amazingeo · Post #72 · 18.08.2025 г., 16:12

🌍 The boundary where the Earth's solid land meets the sea—called the coastline—is constantly changing. Waves, tides, and storms reshape these edges every day, making coastlines dynamic and ever-shifting. ✨ #geography⚡#coastlines⚡#change⚡#nature⚡#earth 👉subscribe Amazing Geography🌍

Amazing Geography 🌍

@amazingeo · Post #660 · 13.03.2026 г., 20:31

🌍 Satellite data show that global sea levels are now rising about 3.4 millimeters per year, speeding up since the 1990s and threatening low-lying coasts with accelerated erosion. ✨ #coastline⚡#climate⚡#change⚡#oceans⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #496 · 05.12.2025 г., 20:31

🌍 Melting permafrost in Arctic regions is releasing ancient greenhouse gases like methane, accelerating climate change and threatening traditional ways of life for local communities. ✨ #permafrost⚡#climate⚡#change⚡#methane⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Amazing Geography 🌍

@amazingeo · Post #10 · 09.08.2025 г., 16:08

🌍 Desertification, the spread of deserts into once-fertile land, now threatens over a third of Earth’s land surface, endangering food security for millions worldwide. ✨ #desertification⚡#climate⚡#change⚡#land⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍

Venture Village Wall 🦄

@venturevillagewall · Post #4097 · 08.02.2025 г., 10:00

New Book Explores Optimism in AI Future Reid Hoffman, co-founder of LinkedIn, releases his book *Superagency: what could go right with AI future*. Unlike dystopian views, Hoffman emphasizes a proactive approach to building a positive future with AI. He discusses the evolution of technology's role in society, the importance of agency in the face of AI, and the need for updates in social contracts. The book reflects on history, addressing both fears and potential benefits AI can bring. Full details available here. #AI#Tech#ReidHoffman#Future#Blockchain#Metaverse#Innovation#Autonomy#SocialChange#Privacy#Agency#Technology#Data#LLM#Community#Change#Trends

Desi Memes Funny Jokes

@desi_memes_funny_jokes · Post #4799 · 15.06.2024 г., 03:39

Need of Organization 😂 #camurshid#ca#icap#ca_murshid#castudents#camemes#icaistudents#charteredaccountant#charteredaccountancy#charteredaccountants#icaistudents#camemes#icaistudents#charteredaccountant#charteredaccountancy#charteredaccountants#icaistudents#camemes#icaistudents#charteredaccountant#charteredaccountancy#charteredaccountants#icaistudents#camemes #icaistudents#charteredaccountant #icaistudents #camemes#icaistudents #auditor#auditors#auditorslife#change#organization