Define the scope rule for variables in python
Answers
The concept of scope rules how variables and names are looked up in your code. It determines the visibility of a variable within the code. ... The Python scope concept is generally presented using a rule known as the LEGB rule. The letters in the acronym LEGB stand for Local, Enclosing, Global, and Built-in scopes
Answer:
The concept of scope rules how variables and names are looked up in your code. It determines the visibility of a variable within the code. ... The Python scope concept is generally presented using a rule known as the LEGB rule. The letters in the acronym LEGB stand for Local, Enclosing, Global, and Built-in scopes.
Hope helps you....
I need thx and mark me as brainliest but but but if my answer helps you... then, thank and make brainliest.... okk...
have a great day....