Awaiting coroutines one by one waits for each in turn. To make the waits overlap, you turn coroutines into tasks. A task is a coroutine that the loop has scheduled to run on its own. This lesson shows the three ways to run many at once: create_task, gather, and TaskGroup, the structured way that arrived in Python 3.11, and what happens to errors in each.
More lessons in Complete Python Programming