結果 : making a class iterable python