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
Can you explain how python is interpreted.
What is ndarray in python?
What is the comment tag in Python ?
What is string in python?
Are tuples hashable?
How can you share variables across modules?
When do you choose a list over a tuple?
Which is the invalid variable assignment from the below?
What a blank curly brace initialize? A dictionary or a set?
What is the purpose of a // operator?
Is r similar to python?
What's the worst programming language?
What is a panda in python?
How does numpy arange work?
What are python slots?