What is Closure in Python?
- Nazeeruddin

- Jan 9, 2023
- 1 min read
Updated: Feb 10, 2023
A Closure is a function object that remembers values in enclosing scopes even if they are not present in memory.
##outupt
PS E:\Python-Samples\BASICS> python sample.py
<h1>First Headline</h1>
<p>this is first my paragraph...</p>



Comments