摘要: ''' 静态方法,和类方法实例 ''' import math class Pizza(): radius = 5 height = 10 def __init__(self,radius,height): self.radius = radius self.height = height print("创建实例") ... 阅读全文
posted @ 2018-05-30 16:25 Caionk 阅读(120) 评论(0) 推荐(0) 编辑