結果 : python define print method for class