class Car:
def __init__(self,name,brand):
self.name=name
self.brand=brand
def show(self):
print(self.name)
print(self.brand)
def run(self):
print(f'汽车{self.name}跑起来了')
byd=Car('仰望U8','BYD')
bwm=Car('X5','BWM')
byd.show()
byd.run()
请到客户端“主题--自定义配置--valine”中填入ID和KEY