@LeagueOfLegendsLatamSur · Post #2329 · 15.05.2020 г., 13:56
#WALLPAPER #Pantheon Pulso de Fuego Dim.: 7680 x 4320
Hashtags
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
Пребарај: #pantheon
@LeagueOfLegendsLatamSur · Post #2329 · 15.05.2020 г., 13:56
#WALLPAPER #Pantheon Pulso de Fuego Dim.: 7680 x 4320
Hashtags
@tomoko_channel · Post #683 · 27.09.2024 г., 07:34
🔖 The creator of ffmpeg Fabrice Bellard(1) is truly a genius and has created so many amazing software that have been an amazing benefit to the world. | Hacker News #pinboard#pantheon#ffmpeg#person Yeah definitely. If programming genius had a unit it should be called the bellard. One 10x programmer = a 1/10th Bellard? 100x 工程师,可以放在万神殿了 https://news.ycombinator.com/item?id=25487711
@trumpsear_tg · Post #2158 · 17.02.2026 г., 13:00
In the Indian state of Kerala, the sculptor carved the statue of Trump and Melania as the embodiment of the Indian gods Shiva and Kali. Thus Trump has entered the Pantheon of Hindu gods. #indian#state#kerala#trump#pantheon 👂More on Trump's Ear ⚠️