Change Global Variable Value In Function Python Parameters