title: cant override method in a base class with my code
body: <pre><code>   class Vehicle():
  
          def __init__(self, brand, model):
  
              print('Am a vehicle')
  
          def brand_name(self, brand):
              print('vehicle class')
              self.brand = brand
              return brand
  
  
          def Vehicle_model(self, model):
              print('vehicle class')
  
              self.model = model
              return model
  
  
       class Mazda(Vehicle):
              def __init__(self, model, brand):
  
  
  
              Vehicle.__init__(self,brand, model)
  
              def brand_name(self, brand):
                  print('base class method')
                  self.brand = brand
                  print(brand +" " +'is a good brand')
  
              def Vehicle_model(self, model):
                  print('base class method')
                  self.model = model
                  print('i am a '+ ' '+ self.model +''+self.brand+"model") 
  
  
       maz = Mazda(2019,'camry')   
       output&gt;&gt;&gt;   Am a vehicle
  
       maz.brand_name('Toyota')
       output&gt;&gt;&gt; vehicle class
       output&gt;&gt;  'Toyota'
  </code></pre>
  
  <p>i want override the method in the base class  but when i try using the derived class object to call the method inside the derived class, it not working to my expectation. i expect the derived class methods to be executed not the base class, please guys what am i doing wrong </p>