TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #273 · 26 јул.

В стандартном модуле random есть две очень похожие функции random.randint() random.randrange() Обе возвращают случайное значение из указанного диапазона >>> random.randint(10, 20) 12 >>> random.randrange(10, 20) 17 В чем же отличие? Дело в том что у randrange() есть третий параметр step. randint() действительно возвращает случайное число из указанного диапазона. randrange() на первый взгляд делает тоже самое если передать также два параметра. Но есть указать еще и step то наш диапазон усложняется, то есть в него попадёт не полный ряд значений. Например, я хочу получить случайное значение из диапазона но только чётное число. Тогда достаточно сделать так: >>> randrange(10, 20, 2) 16 Таким образом получается что randint это частный случай randrange без указания параметра step. Еще одно важное отличие в том, что randint() включает в диапазон второе значение а randrange() нет. То есть выражение randrange(10, 20) никогда не вернёт 20, а randint(10, 20) вернёт. #tricks#basic

Резултати

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

Пребарај: #marshal

当前筛选 #marshal清除筛选
白丝雪糕anime(表频道)

@white_pantyhose_anime · Post #1026 · 23.11.2025 г., 16:27

title:爱丽丝的里面有符合勇者的资质吗~? painter:#marshal tag:#天童アリス#碧蓝档案#白タイツ#白裤袜#雪糕#白丝#ソックス足裏#着袜足底 https://www.pixiv.net/artworks/124350206

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40717 · 01.03.2026 г., 07:02

Georgy Zhukov was a Soviet military leader and Marshal of the Soviet Union. He was born to a poor peasant family in Strelkovka, Kaluga Province, Russia. He served in the Imperial Russian Army in World War I. After the Russian Revolution, he joined the Red Army and rose quickly through the ranks. He commanded Soviet forces at major battles, including Khalkhin Gol, Moscow, Stalingrad, Kursk, and the final assault on Berlin. He became Marshal of the Soviet Union in January 1943. After World War II, he was the first military governor of the Soviet occupation zone in Germany. He later served as Chief of the General Staff and Minister of Defence. He was removed from top posts because Soviet political leaders feared his popularity and power. Zhukov is remembered as one of the most celebrated Soviet commanders of the 20th century. 🪖⚔️🇷🇺 [Read more] @googlefactss #GeorgyZhukov#SovietUnion#WorldWarII#Marshal#MilitaryHistory#EasternFront