方法一:指名道姓,即父类名.父类方法()codingclass Vehicle: #定义交通工具类Country=Chinadef __init__(self,name,speed,load,power):self.name=nameself.speed=speedself.load=loadself.power=powerdef run(self):print(开动啦...)class Subway(Vehicle): #地铁def __init__(self,name,speed,load,power,line):Vehicle.__init__(self,name,speed,load,power) #调用父类的构造函数(初始化)self.line=linedef run(self):prin...