Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythonfunctools lru_cache partialSingle-choice MCQ

A function `f(a, b, c)` is wrapped with `functools.partial`. What happens with these calls?

import functools def f(a, b, c): return (a, b, c) p = functools.partial(f, 1, c=3) print(p(2)) print(p(2, c=99))