Reference Global Variable In Function Python Practice