Python Class Run Function In Python Syntax For Loop