Modify Variable Outside Function In Python Definition A Programming