TIPS FOR PYTHON DEVELOPERS
Scope of Variable and LEGB Rule
The scope of a variable refers to the places that you can see or access a variable
Published in
6 min readAug 7, 2020
In the beginning, I assume that you know how to define your own functions — but not only that, you know how to write functions with multiple parameters and can return multiple values using tuples.