โฑ๏ธasyncio.gather, create_task, timeoutsWORKSHOP
1
2
3
4
5

Step 1

Write your first coroutine. Define `async def say_after(delay, message)` that awaits `asyncio.sleep(delay)` then prints `message`. Write `async def main()` that awaits two calls to `say_after` sequentially. Run with `asyncio.run(main())`.

โŒ˜ Enter (Mac) ยท Ctrl+Enter (Win/Linux)