An in-depth explanation of the nonlocal statement: Let’s learn by referring to the PEP and Python Docs. 3 minute read Why Nonlocal had to become preassgined