結果 : python loop through attributes of an object