摘要: 一、类的属性 1、@property属性 作用就是通过@property把一个方法变成一个静态属性 class Room: def __init__(self,name,length,width,height): self.name=name self.length=length self.widt 阅读全文