12 2019 档案
摘要:a = b = 1a = b = 2a = b = 3a = 4a = 5结束
阅读全文
摘要:1 # coding:utf-8 2 3 4 class Animal(object): 5 def __init__(self): 6 self._name = None 7 self._f = None 8 9 def eat(self): 10 print("%s吃%s" % (self._n
阅读全文
摘要:1 class Cat(Animal): 2 def __init__(self): 3 import warnings 4 warnings.warn("Cat类带删除线了", DeprecationWarning) 5 6 def run(self): 7 import warnings 8 warnings.warn("run方法带删除线了", DeprecationWarning)
阅读全文

浙公网安备 33010602011771号