class People(object):
def __init__(self, name, age):
self.name = name
self.age = age
#只在__init__中才需要self定义
def eat(self,kk):
print('%s正在吃....' % kk.name)
print(kk)
# def中kk不需要定义(kk.name,self.name)
class Man():
def __init__(self,name,age)
super().__init__(name,age)
#3.0版本的标准写法,super(可省略)
akl=People('nuoke','22')
akk=People('chen','33')
akl.eat(akk)