Python Define Global Variable In Function In Python Practice