Intermediate Python
Q58 / 101

What is asyncio used for?

Correct! Well done.

Incorrect.

The correct answer is B) Writing single-threaded concurrent code using async/await and an event loop

B

Correct Answer

Writing single-threaded concurrent code using async/await and an event loop

Explanation

asyncio provides an event loop for async I/O. async def and await allow non-blocking I/O without threads, ideal for network servers and clients.

Progress
58/101