Answer:
Variables can only reach the area in which they are defined, which is called scope. Think of it as the area of code where variables can be used. Python supports global variables (usable in the entire program) and local variables.
Step-by-step explanation:
and lol ..........Local (or function) scope is the code block or body of any Python function or lambda expression. This Python scope contains the names that you define inside the function. ... If the local scope is an inner or nested function, then the enclosing scope is the scope of the outer or enclosing function.