摘要:
# class phone: # ''' # 限制,不允许添加属性 # ''' # __slots__=["cpu"] # def call(self,num): # print("用cpu:%s打电话给%s"%(slef.cpu,num)) #print(phone.__dict__) #ipho 阅读全文
posted @ 2019-09-25 22:55
Cyber_Shady
阅读(153)
评论(0)
推荐(0)
摘要:
#coding=utf-8 class Wangjianlin: def __init__(self): self._name="王健林" self.__post="万达董事长" self._money=10000000000 def buy(self,name,price): if price>1 阅读全文
posted @ 2019-09-25 22:54
Cyber_Shady
阅读(133)
评论(0)
推荐(0)

浙公网安备 33010602011771号