Reference Global Variable In Function Python Syntax And Semantics