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

Резултати

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

Пребарај: #walletupdate

当前筛选 #walletupdate清除筛选
Crypto M - Crypto News

@CryptoM · Post #65053 · 10.04.2026 г., 16:41

🚀 Binance Wallet Enhances Access to Pre-IPO Assets Binance Wallet announced on X that it has made Pre-IPO assets more accessible within its platform. Users can now find the first batch of five Pre-IPO assets under the 'Markets' section in the 'Wallet' view on the Binance App. This update aims to streamline the process for users interested in exploring related on-chain Pre-IPO assets. The introduction of these assets marks a significant enhancement in the Binance Wallet's offerings, providing users with a more straightforward way to discover and engage with Pre-IPO opportunities. By integrating these assets into the app's wallet view, Binance Wallet seeks to simplify the user experience and broaden the scope of available investment options. This development is part of Binance's ongoing efforts to expand its digital asset ecosystem and offer diverse investment opportunities to its users. #BinanceWallet#PreIPO#DigitalAssets#Investment#Crypto#Blockchain#CryptoInvesting#WalletUpdate#Fintech#AssetManagement