Using Global Variables In Functions Python Definition