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
how do substitute a pattern in a string using re module
How do you make hello world in python?
When should you use the “break” in python?
Can I make games with python?
How many types of objects does python support?
What's the difference between python and anaconda programming?
How can you create a copy of an object in python?
How to convert sting to number and viceversa in python?
Tell me what is the difference between django, pyramid, and flask?
What does this mean: *args, **kwargs?
Is init in python a constructor?
What are the disadvantages of Python Recursion?
What are python packages?
Is python as powerful as c++?
Can I learn python without knowing programming?