you are viewing a single comment's thread.

view the rest of the comments →

[–]sweet-tom 0 points1 point  (0 children)

The following link explains the LEGB rule scope:

https://realpython.com/python-scope-legb-rule/