Use Variable From Another Function Python Syntax If Else Statement