Answer Posted / nashiinformaticssolutions
A closure occurs when a function is defined inside another function and references variables from the outer function's scope. It allows the inner function to retain access to variables from the outer function even after the outer function has finished executing
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a metaclass in Python?
Explain how can you access a module written in python from c?
What is python distutils?
What is sphinx in python?
Is python is a case sensitive?
What are the python types?
What are the disadvantages of Python Recursion?
What is the default argument in all the functions inside a class?
What is list comprehension how to define it and when to use?
Does python interact with database?
What are advantages and disadvantages of python?
Explain the use of decorators?
How do you reload a python module?
Where is the math.py (socket.py, regex.py, etc.) Source file?
List out atleast two loop control statements?