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()