Cannot Modify Global Variable Python Syntax