Тут на DOU рекламують наче новий сервіс с задачками.
Поки немає часу та бажання дивитись, але якщо хтось пробував/спробує - відпишіть як воно, норм або черговий стрьом?
https://genepy.org/exercises/sapin
@python_materials_for_beginners · 449 subscribers
The short link opens the channel straight in the Telegram app — not in a browser tab.
tg.me/go/python_materials_for_beginnersIs this your channel? Add @tgme as admin — and see how many people click your links. Get the stats →
Channel created April 16, 2023per Telegram
We have been tracking it since August 15, 2026
In all that time the channel has changed neither its name, nor its @username, nor its avatar.
We show only what we have seen ourselves.

asyncio.gatherimport time
import asyncio
import httpx
# Ключ від безкоштовного апі https://app.reqres.in
API_KEY = "free_user_****************"
async def main():
async with httpx.AsyncClient() as client:
client.headers["x-api-key"] = API_KEY
start = time.monotonic()
responses = await asyncio.gather(
client.get("https://reqres.in/api/users?delay=1"), # запит 1с
client.get("https://reqres.in/api/users?delay=3"), # запит 3с
client.get("https://reqres.in/api/users?delay=2"), # запит 2с
)
print(f"Elapsed: {time.monotonic() - start:.2f} s")
print("Status codes: ", [r.status_code for r in responses])
if __name__ == "__main__":
asyncio.run(main())
Elapsed: 3.30 s
Status codes: [200, 200, 200]
app.reqres.in дозволяє задати час відповіді для кожного запиту (1, 3 та 2 с). Це дає можливість побачити перевагу асинхронності, коли запити виконуються групою й відповіді очікуються одночасно.