Return Two Variables From Function Python Syntax For Loop