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

Is set ordered in python?

0 Answers  


Are tuples hashable?

0 Answers  


Can I create a website with Python?

0 Answers  


What is the difference between methods & constructors?

0 Answers  


Is there a switch or case statements in python?if not what is the reason for the same?

0 Answers  


Where can I learn python for free?

0 Answers  


How do you upgrade pip?

0 Answers  


What are the 3 types of loops?

0 Answers  


How do you disconnect from the database?

0 Answers  


Given a text file (FILE1) with lots of words (ex, an ebook), and another file (FILE2) with a list of blacklist words (slangs, porn, etc.), write a program to find the top 100 words(most frequent 100 words) from FILE1 which are not present in FILE2.

1 Answers  


What is python good for?

0 Answers  


Why super is used in python?

0 Answers  


Categories