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

Пребарај: #opendialogue

当前筛选 #opendialogue清除筛选
Green University CA | Official

@centralasian_greenuniversity · Post #797 · 27.02.2026 г., 12:15

📸Highlights from the “Youth Day” at Green University #YouthDay#OpenDialogue ______________________ 📸Green University “Yoshlar kuni”dan lavhalar #YoshlarKuni#OchiqMuloqot ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube

Green University CA | Official

@centralasian_greenuniversity · Post #790 · 27.02.2026 г., 05:51

Green University hosted an official meeting between the Rector and students on the occasion of “Youth Day.” 🗣During the event, the Rector of Green University, Dr. Bakhtiyor Pulatov, spoke about the conditions created for students, ongoing efforts to further enhance the quality of education, and future plans aimed at supporting young people. Students’ proposals and initiatives were also heard, and practical measures for their implementation were discussed. 💬The meeting was attended by a representative of the Youth Affairs Agency of the Republic of Uzbekistan, Elyor Norpulatov, who provided detailed information on the priority directions of the state youth policy and the opportunities being created for young people. The participants also discussed the content of the meeting between President Shavkat Mirziyoyev and youth, as well as the key priorities outlined during that dialogue, exchanging views on their effective implementation within the activities of higher education institutions. 👉ReadMore #YouthDay#OpenDialogue _____________________ Green University’da “Yoshlar kuni” munosabati bilan rektor va talabalar ishtirokida rasmiy uchrashuv bo‘lib o‘tdi. 🗣Tadbir davomida Green University rektori Professor Baxtiyor Pulatov talabalarga yaratilgan shart-sharoitlar, ta’lim sifatini yanada oshirish, yoshlarni qo‘llab-quvvatlashga qaratilgan istiqboldagi rejalar haqida so‘z yuritdi. Shuningdek, talabalar tomonidan bildirilgan taklif va tashabbuslar tinglanib, ularni amaliy qo‘llab-quvvatlash masalalari muhokama qilindi. 💬Uchrashuvda O‘zbekiston Respublikasi Yoshlar ishlari agentligi vakili Elyor Norpulatov ham ishtirok etib, yoshlarga oid davlat siyosatining ustuvor yo‘nalishlari hamda yaratilayotgan imkoniyatlar haqida ma’lumot berdi. Shuningdek, tadbir davomida President Shavkat Mirziyoyevning yoshlar bilan o‘tkazgan uchrashuvi mazmuni va unda belgilab berilgan ustuvor vazifalar muhokama qilinib, ularning ta’lim muassasalari faoliyatida samarali amalga oshirilishi yuzasidan fikr almashildi. 👉Batafsil #YoshlarKuni#OchiqMuloqot ✉️[email protected] ☎️ +998 55 512 00 77 📍Location 🌐Website | 📱Telegram | 📱Instagram | 📱LinkedIn | 🟥YouTube