Use A Variable From Another Function Python Syntax Error