class cre:
xudu=50
def run(self):
print("正在跑")
def zairei(self):
print("载重6人")
class yuhuoche(cre):
def zhuangzai(self):
print("装载10吨")
class chuzuche(cre):
def init(self,ren):
self.run=ren
def yuxong(self):
print("送",self.run)
c=chuzuche("qiusiyi")
c.yuxong()