摘要:
# pcjclass Animal(): def eat(self): print("吃") def run(self): print("跑") def sleep(self): print("睡") def drink(self): print("喝")class Dog(Animal):#Dog 阅读全文
摘要:
# pcjclass Dog(object): def __init__(self,name): self.name=name def run(self): print("%s只会普通的玩"% self.name)class XiaoTiaoDog(Dog): def run(self): prin 阅读全文