TGTGInsightinteligencia telegramLIVE / telegram public index
← Python Academy

TGINSIGHT SIMILAR POSTS

Buscar contenido similar

Canal fuente @python_academy · Post #2104 · 27 jul

Время исполнения программы Зачастую требуется замерить время исполнения кода, чтобы понять, насколько оптимальное решение было выбрано. Как вариант, можно воспользоваться функцией time из модуля time, которая возвращает текущее время в формате Unix. Перед исполнением нашего кода сохраним начальное время, а после — конечное. Путем вычета первого из второго и получим время исполнения программы. Использование time.time() — не самый точный и лучший вариант, но, например, для быстрого сравнения двух разных частей кода подходит хорошо. #time

Hashtags

Resultados

137 posts similares encontrados

Búsqueda global general

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40577 · 23/01/2026, 11:00

Earth’s spin slows down due to the Moon’s pull. Leap seconds are added occasionally, about every few years, to keep clocks accurate. Since around 2026 years ago, roughly 1,400 leap seconds or about 23 minutes have been added to account for the gradual slowing of Earth’s rotation, making a year effectively 23 minutes longer since then. In 1972, two leap seconds made the year 2 seconds longer. ⏳🌍🕰️ [Read more] @googlefactss#Earth#Time#LeapSecond#Science

Red Coins Club

@redcoinsclub · Post #416 · 09/10/2024, 12:14

💎B 🤝 Появился Daily check in чтобы получать дополнительные бонусы и развивать свой camp (лагерь) Также присоединяйтесь к нашему camp, и забирайте баллы нажав на claim 🫡Проверить check in #Airdrop#drop#b#time

Interesting Planet 🌍

@interesting_planet_facts · Post #836 · 30/09/2025, 12:11

🌎 Scientists have found that virtual reality can cause “time compression”—people often perceive sessions as shorter than reality. This effect is linked to how immersive environments alter brain attention and memory. In experiments, users underestimated durations by up to 25%. ✨ #time⚡#perception⚡#neuroscience⚡#virtualreality 👉subscribe Interesting Planet 👉more Channels ​

科技&趣闻&杂记

@kejiqu · Post #4116 · 31/01/2026, 01:44

有人将 Apple 最令人恼火的 bug 变成了浪费人类时间的计分板 一个新网站将 Apple 最为持久的软件 bug 转化为一个幽默的计分板,利用夸张的数学计算来估算这些 bug 造成的集体人类时间浪费。该网站旨在以一种轻松的方式呈现 Apple 长期存在的软件问题,并量化其对用户的影响。9to5Mac 🏷#Apple#bugs#scoreboard#wasted#time 📢频道👥群组📝投稿

JS Organization

@jsorganization · Post #456 · 07/07/2024, 09:32

Set Bed Time / Restrictions For Command Use Between 12 AM To 6 AM Bangladesh Time 🗓 TBC PYTHON CODE🤖 Command Name : YOUR COMMAND NAME Code : JS_Organizations = libs.dateandtime.now('Asia/Dhaka') hours = int(JS_Organizations['time'].split(':')[0]) minutes = int(JS_Organizations['time'].split(':')[1]) seconds = int(JS_Organizations['time'].split(':')[2]) bed_time_start = 0 # 12 AM in 24-hour format bed_time_end = 6 # 6 AM in 24-hour format if hours >= bed_time_start and hours < bed_time_end: remaining_hours = bed_time_end - hours - 1 remaining_minutes = 60 - minutes remaining_seconds = 60 - seconds ampm = 'AM' if hours < 12 else 'PM' hours12 = hours % 12 if hours12 == 0: hours12 = 12 remaining_time = f"<b>{remaining_hours} hours, {remaining_minutes} minutes, {remaining_seconds} seconds</b>" user_first_name = message.from_user.first_name message = ( f"<b>👋 Hey {user_first_name}</b>\n" f"<b>━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━\n" f"It is Bed Time 🛏️\n" f"So You Cannot Use This Button From 12:00 AM To 6:00 AM in Bangladesh Time\n" f"Current Time: {hours12}:{minutes:02} {ampm}</b>\n" f"<b>━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━\n" f"Come Back After: {remaining_time}</b>\n" f"<b>━━━━━━━━•❅•°•❈•°•❅•━━━━━━━━</b>" ) bot.sendMessage(chat_id=message.chat.id, text=message, parse_mode="HTML") else: #YOUR COMMAND Main CODE IS HERE, Or bot.sendMessage("Now Up Time") Paste this code above the code of your command! And enter your code below! You Can Change Your Timezone And Bed Time ⏱ If You Post This In Your Channel. please Mention Our Channel Name For Credit #BedTime#RestrictionTime#Time#TBC#JSOrganization © Copyright : @JSOrganization ❓ Question/Error : @itsSowrov

12•••89101112