1. Home
  2. Data Science
  3. Python
  4. What does functools.partial do in Python?

Added 25 Nov 2026

What does functools.partial do in Python?

  1. Splits a function into parts
  2. Creates a new function with some arguments fixed Correct answer
  3. Runs a function partly
  4. Caches output

Correct answer

B. Creates a new function with some arguments fixed

5 views

MCQSEXAM

Explanation

partial pre-fills arguments of an existing function.

Reference

Asked in: Python Interview Advanced Python

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