Assertion: variable's scope | /r/HasProperty | global
Facets:
Source sentences:
text: A basic distinction is between a static global variable, which has global scope and thus is in context throughout the program, and a static local variable, which has local scope.
text: The variable has a global scope, even when it's created in a script or function.
text: Example If you use the global keyword, the variable belongs to the global scope: def myfunc():
text: Variables can have a global scope, available everywhere in an application, or local to a specific function or script.
text: Variables have either global or local scope.