結果 : how to write object oriented code in python