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

Резултати

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

Пребарај: #epiphany

当前筛选 #epiphany清除筛选
Addis Standard

@addisstandardeng · Post #21111 · 19.01.2026 г., 10:21

In_Pictures: #Epiphany celebrations across #Ethiopia Epiphany (Timket) celebrations are taking place across Ethiopia, as followers of the Ethiopian Orthodox Tewahedo Church mark the festival in accordance with long-standing religious traditions. Observances began on the eve of the Katara ceremony yesterday, with clergy and congregants participating in the commemoration. Photo: Social media

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40485 · 06.01.2026 г., 03:04

January 6 is Epiphany or Theophany. Wise Men, or magi, visited baby Jesus with gifts: gold, frankincense, and myrrh. The Bible doesn’t say how many magi came or their names; tradition says three: Melchior, Caspar, and Balthazar. Some churches also celebrate Jesus’ baptism this day. Before December 25 was Christmas, January 6 was the main day to celebrate Jesus’ birth. It ends the 12 days of Christmas with food, parades, and gifts. ✝️🎁⭐ [Read more] We wish you all a happy Epiphany day. @googlefactss#Epiphany#Jesus#Christmas#ChristianTraditions#History

☦️Epiphany and the Cross-Diving Tradition On the feast of the Epiphany, believers in a number of countries take part in a folk-religious tradition known as cross diving. 🔹 After the blessing of the water, a priest throws a cross into a body of water — a river, lake, or the sea. 🔹 Participants then swim to retrieve the cross from the water. 🔹 It is believed that the person who retrieves the cross first receives a special blessing for the year ahead. 🌍 This tradition is especially common in countries with a warmer climate than Russia, such as Greece, Bulgaria, Serbia, as well as in several other countries and regions. 🇷🇺🇿🇦 This tradition is also practiced within the Russian-speaking diaspora in South Africa. 📸Photo (Cape Town) 🔗Source: https://t.me/Capetown_SouthAfrica_chat/50655 #Epiphany#Orthodoxy#ChristianTraditions#Culture#Religion#FolkTraditions#SouthAfrica#CapeTown

Addis Standard

@addisstandardeng · Post #21118 · 19.01.2026 г., 13:37

In Pictures 2 #Ethiopians across the country celebrate Timket (#Epiphany)—recognized by #UNESCO as an intangible cultural heritage of humanity—one of the Ethiopian Orthodox Church’s most sacred festivals, marked by vibrant processions, prayers, and communal gatherings. On the occasion of the festival, various embassies in Addis Abeba have extended congratulatory messages. The embassies of #Russia and the #United_States, along with those of #Germany, the #Netherlands, the #United_Kingdom, #Switzerland, #Sweden, #Finland, #Israel, #Armenia, #Canada, #Iran, #Pakistan, and #Australia, wished Ethiopians a peaceful and joyful celebration. (Source: FBC, TigTV)