(Hackerrank) HackerRank Python Certification Practice Test
Hackerrank Decorators and Closures
What is a closure in Python?
Select your answer
A
A function that retains access to variables from its enclosing scope even after that scope has finished executing
B
A function defined inside a class
C
A function that cannot be called from outside its module
D
A function with no return statement
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49