Python Modify Variable Outside Function Python Parameters