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

Резултати

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

Пребарај: #driving

当前筛选 #driving清除筛选
Car News

@car_news · Post #1555 · 29.09.2025 г., 12:10

💨 Nothing on the road will scare you after this 🇸🇪 In Sweden, driving schools teach students how to handle a car in all kinds of tricky conditions. 🚗 And yes — passing a skid-control test is mandatory before they can even get their license. #driving@Car_News

Hashtags

America 🇺🇸 News & Politics

@America · Post #10390 · 16.03.2026 г., 13:05

🚗🇺🇸1 IN 3 US PARENTS FEAR TEEN DRIVERS WILL CAUSE DEADLY CRASH 🔹 University of Michigan poll: 33% worry their young driver could cause accident — but 96% think their kid drives "average or better" 🤔📊 🔹 Half (51%) witnessed unsafe behavior: 44% saw aggressive driving, 25% caught texting while driving, 17% saw impaired/sleepy driving 😱🚨 🔹 Only 24% imposed consequences — most just take keys (6%), refuse car (8%), or threaten insurance cuts (6%) 🔑💳 🔹 Parents who saw road rage LESS likely to rate teen as bad driver — massive blind spot putting lives at risk 🙈💀 American teens NOT ready for the road. Where are the parents? 😬🛣️ #USNews#teensafety#driving @america

Auto Life

@revheadcrypto · Post #30 · 02.07.2024 г., 16:34

🔥🏁Koenigsegg Regera Breaks Rimac Nevera's Record in 0-400-0 Challenge 🏁🔥 🏆 The music didn't play for long: Rimac Nevera's record in the 0-400-0 km/h acceleration-braking challenge lasted only a month. The Croatian hypercar surpassed the previous record holder, Koenigsegg Regera, clocking in at 29.94 seconds. 🇸🇪 The Swedish brand shrugged and sent the Regera back onto the track. Guess what? 28.81 seconds. How do you like that, Mate Rimac? 🥇 The margin of victory was 1.13 seconds, which in such a discipline, it must be said, is quite impressive. Surely, Rimac will have to respond. Competing is possible, but it will definitely require some effort. 🏎️Interestingly enough, the Regera has already been discontinued, with the last unit delivered to its owner in 2022. So why set a record with a car that is no longer in production? Koenigsegg answers bluntly: "Because it can!" The Regera remains superior to any newcomer. And it has proven it once again. 💥To outperform a significant rival - an electric car that has just set 23 records - is both impressive and beautiful. 💥 #Koenigsegg#Regera#driving#car

香港人的蘋果

@appledailyhk26 · Post #55508 · 02.10.2023 г., 23:44

林寶高速撞飛切線的士 震撼片曝光!瘋狂空翻漏油 4車相撞6傷涉嬰|獨家直擊跑車司機舉不忿手勢 途人衝馬路施援 睇片👉https://channelchk.com/a/13916 2023年10月2日下午近5時,荃灣大涌道往迴旋處近沙咀道4車相撞,釀成6傷,包括1名傷及頭部的3個月大男嬰。網傳片段,揭露震撼意外一刻。當時1輛俗稱「狂牛」的林寶堅尼黃色跑車,高速從後撞飛切換至其行車線的1輛市區的士,令對方打數圈空翻兼漏油...... #car#driving#hongkong#drive#driver#cars#hk#traffic#taxi#Lamborghini#車cam#香港#司機#荃灣#大涌道#林寶堅尼#跑車#的士#channelchk ============== 新聞有價 記者有格 $128成長計劃 立即訂閱:https://channelchk.com/plan 撐Channel C請記者 一齊為民請命 抱打不平 ============== 😎Channel C 廣告推廣和媒體合作!🤝 誠邀各商戶傾談廣告宣傳和合作推廣; 有意請電郵至:[email protected] ============== 🔥「爆片爆相」返嚟喇!🔥 一經獨家採用將會獲得由 齊柏林熱狗店送出$50元 禮券乙張! 報料:https://wa.me/85264691456