Computer Science, asked by mynameisutkarsh007, 6 months ago

Define the scope rule for variables in python

Answers

Answered by crazygirl60
2

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

Answered by Rupansa
2

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....

Similar questions