Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain the concept of closures in Python.



Explain the concept of closures in Python...

Answer / 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

More Python Interview Questions

Why do we want to use break statement in while-loop?

0 Answers  


Write a program to convert all strings in list to integers?

0 Answers  


What is meant by attribute error in python?

0 Answers  


What is raw input function in python?

0 Answers  


What is a static relationship?

0 Answers  


What is a docstring?

0 Answers  


What is map function in python?

0 Answers  


How is Python used in web development?

0 Answers  


How do python thread safe?

0 Answers  


What are the key features of Python?

0 Answers  


Mention at least 3-4 benefits of using python over the other scripting languages such as javascript.

0 Answers  


What is decorator in python?

0 Answers  


Categories