继承
概念: 子类拥有父类的所有方法和属性
单继承class Animal:
def eat(self):
print("吃")
def drink(self):
print("喝")
2020-04-27