class aproperties of class class ( )class inheriting property of class more properties of class example example of inheritance without using constructor class vehicle#parent class name="marutidef display(self)print("name",self nameclass category(vehicle)drived class price= def disp_price(self)print("price",self pricecar =category(car display(car disp_price(