# Global names are names at the top level of the enclosing module file.# Global names must be declared only if they are assigned in a function.# Global names may be referenced in a function without being declared.X = 88 def func( ): global X X = 99 # Global X: outside deffunc( )print X # Prints 99
Name (required)
email (will not be published) (required)
Website