Question 5/17
advanced
Select one answer

What is a closure in Python?

A way to close files
A function that remembers values from its enclosing scope
A way to end a loop
A type of exception

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.