摘要: #coding=utf8 class Cup: #构造函数,初始化属性值 def __init__(self,capacity,color): self.capacity=capacity self.color=color def retain_water(self): print("杯子颜色:"+ 阅读全文
posted @ 2019-10-16 12:00 Littlefish- 阅读(910) 评论(0) 推荐(0)
Document