The inner function is closing more than the free of charge variable and that's why it known as 'closure'. A free variable is actually a variable that is certainly outside the house the interior purpose and passed in to the inner by using docorator. one Also see this equivalent problem https://propertyingurugram.in/property-type/3-bhk-apartments/