Call Variable From Another Function Python Syntax For Loop