摘要: class MyClass: def __init__(self, height, width): self.height = height self.width= width # 两个对象 相加 def __add__(self, others): return MyClass(self.heig 阅读全文
posted @ 2021-09-29 08:32 emanlee 阅读(331) 评论(0) 推荐(0)