class Zl():def init(self,name,age):self.name=nameself.age=ageself.money=0self.skill=[]def teach(self,teached,skill):print(self.name,’教’,teached.name,’学’,skill)teached.skill.append(skill)def earn(self,money):print(self.name,’赚’,money)self.money+=moneydef borrow(self,moneyone,m):if moneyone.money>m:print(self.name,’借’,moneyone.name,m)moneyone.money-=mself.money+=200else:print(‘没有借钱’)def show_in(self):print(self.age,’岁的’,self.money,’有’,self.money,’他学会’,’ ‘.join(self.skill))zhang3=Zl(‘张三’,35)li4=Zl(‘李四’,8)zhang3.teach(li4,’python’)li4.teach(zhang3,’王者荣耀’)zhang3.earn(1000)li4.borrow(zhang3,200)zhang3.show_in()li4.show_in()print(li4.dict)print(zhang3.dict)