class Child(People):
        def __init__(self,yourage,yourname,father,mother):
                People.__init__(self,yourage,yourname)
                self.mothername=mother
                self.fathername=father
        def cry(self):
                print("child like cry")
        def drink(self):
                print("child's drink")
        def getParents(self):
                print(self.mothername,self.fathername)
xmiao=Child(1,"xmiao","rose","jack")
print(xmiao.age,xmiao.name,xmiao.hight)
xmiao.eat()
xmiao.cry()
xmiao.drink()
xmiao.getParents()
print(isinstance(xmiao,People))
01-30 20:48