結果 : how to make a class iterable in python