結果 : how to write subclass in python