Global Scope
Let's discuss and understand the global scope.
We'll cover the following...
Python includes the global
statement. It is a keyword of Python. The
global
statement declares a variable as being available for the code
block following the statement. While we can create a name before we declare it global
, this is strongly discouraged.