<prompt> Hlahisa mohlala oa sehlopha sa sehlopha sa lefa.nan  <response>: Instruction in English: Generate an example of a class inheritance hierarchy. . Response in English: Here is an example of a class inheritance hierarchy:pythonclass Vehicle: def __init__self, make, model, year: self.make make self.model model self.year year def honkself: printHonk honk! def __str__self: return .formatself.year, self.make, self.modelclass CarVehicle: def __init__self, make, model, year, num_doors 4: super.__init__make, model, year self.num_doors num_doors def honkself: super.honk printBeep beep! def __str__self: return super.__str__ with doors.formatself.num_doorsclass FlyingCarCar: def __init__self, make, model, year, num_doors 4, num_wings 2: super.__init__make, model, year, num_doors self.num_wings num_wings def flyself: printWeee, we are flying! def honkself: super.honk printNeowww! def __str__self: return super.__str__ and wings.formatself.num_wingsIn this example, we have a base class Vehicle, with attributes common to all vehicles like make, model, and year. The Vehicle class also has a honk method and a __str__ method to print out the vehicles information.The Car class inherits from Vehicle and adds an attribute for the number of doors, num_doors, and overrides the honk method to add an additional sound. The __str__ method is also overridden to include the number of doors when printing out the cars information.The FlyingCar class inherits from Car and adds an attribute for the number of wings, num_wings, and a fly method. The honk method is also overridden to add an additional sound, and the __str__ method is overridden to include the number of wings when printing out the cars information.This is an example of a class inheritance hierarchy, where each derived class inherits . Response in Sesotho: Mohlala ke ona oa sehlopha sa sehlopha sa lefa: python class Vehicle: def __init__self, make, model, year: self.make make self.model model self.year year def honkself: printHonk honk! def __str__self: return .formatself.year, self.make, self.model class CarVehicle: def __init__self, make , mohlala, selemo, palo_mamati 4: super.__init__etsa, mohlala, selemo self.num_doors num_doors def honkself: super.honk printBeep beep! def __str__ self: return super.__str__ with doors.formatself.num_doors class FlyingCarCar: def __init__self, make, model, year, num_doors 4, num_wings 2 : super.__init__etsa, mohlala, selemo, palo_mamati self.num_wings num_wings def flyself: printWeee, we are flying! def honkself: super.honk printNeowww! def __str__self: return super.__str__ le wings.formatself.num_wings Mohlaleng ona, re na le sehlopha sa motheo Koloi. , e nang le litšobotsi tse tloaelehileng likoloing tsohle tse kang make, model, le year. Sehlopha sa Vehicle se boetse se na le mokhoa oa honk le __str__ mokhoa oa ho hatisa lintlha tsa koloi. Sehlopha sa Koloi se rua ho Koloi me se eketsa tšobotsi bakeng sa palo ea mamati, num_mamati, me se tlose mokhoa oa honk ho eketsa molumo o mong. Mokhoa oa __str__ o boetse o hlakotsoe ho kenyelletsa palo ea mamati ha o hatisa lintlha tsa koloi. Sehlopha sa FlyingCar se rua ho Koloi me se eketsa tšobotsi bakeng sa palo ea mapheo, num_wings, le mokhoa oa fly. Mokhoa oa honk o boetse oa hlakoloa ho eketsa molumo oa tlatsetso, me mokhoa oa __str__ o hlakotsoe ho kenyelletsa palo ea mapheo ha o hatisa lintlha tsa koloi. Ona ke mohlala oa sehlopha sa sehlopha sa lefa, moo sehlopha se seng le se seng se nkiloeng se ruang 