1. Home
  2. Data Science
  3. Python
  4. What does asyncio.gather() do in Python?

Added 25 Nov 2026

What does asyncio.gather() do in Python?

  1. Joins strings
  2. Runs multiple awaitables concurrently and collects results Correct answer
  3. Gathers modules
  4. Sleeps for a second

Correct answer

B. Runs multiple awaitables concurrently and collects results

9 views

MCQSEXAM

Explanation

gather schedules awaitables together and returns their results in order.

Reference

Asked in: Python Interview Advanced

https://docs.python.org/3/library/index.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs