How To Use A Variable From A Function Python