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

Резултати

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

Пребарај: #soil

当前筛选 #soil清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #434 · 27.07.2025 г., 02:22

🌎 The European mole can “swim” through soil by using its large, spade-like paws to paddle through loose earth, creating complex underground tunnels. This adaptation helps it hunt worms in the dark, while its velvety fur lets it slide backward or forward with ease. ✨ #mammals⚡#adaptation⚡#soil 👉subscribe Interesting Planet

Amazing Geography 🌍

@amazingeo · Post #189 · 06.09.2025 г., 20:12

🌍 Around a third of the world’s soil has already been degraded by erosion, pollution, and overuse—putting global food production and ecosystem health at serious risk. ✨ #environment⚡#sustainability⚡#soil⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #242 · 15.09.2025 г., 16:12

🌍 Grasslands cover about 40% of Earth’s land surface and are found on every continent except Antarctica. Some of the world’s richest soils, called mollisols, form in temperate grasslands. ✨ #grasslands⚡#savanna⚡#soil⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography🌍 ​

Amazing Geography 🌍

@amazingeo · Post #398 · 21.10.2025 г., 12:31

🌍 Some grassland soils are so fertile they can support crops for decades without added fertilizer. These deep, dark soils store huge amounts of carbon, helping stabilize the global climate. ✨ #grasslands⚡#soil⚡#carbon⚡#geography⚡#nature⚡#earth 👉subscribe Amazing Geography 👉more Channels ​

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40375 · 21.12.2025 г., 02:44

After death, human microbes survive in soil and help break down the body. They work with soil microbes to speed up decomposition and recycle nitrogen, which plants need to grow. These microbes can live in the soil for months or years, turning dead bodies into nutrients that support new life. 🌱🦠💀 [Source] @googlefactss#Decomposition#Microbes#Soil#NitrogenCycle#Ecosystem