結果 : how to implement class in python