What is a closure in python?
Answer / Gyaneshchandra Sharma
A closure in Python is a function that has access to variables in its parent function's scope, even when the parent function has returned. This can be achieved by nested functions within another function.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you prevent abnormal termination of a python program?
Describe how to use Sessions for Web python.
What is a namespace in python?
Is r similar to python?
How do I use strftime in python?
What is frozen set in python?
Is print a function in python 3?
How do I exit python?
How is python used in the real world?
Name some of the features of python?
Is python good for web development?
What is python identifiers?