You are given a Jets class and required to create a new class for very light private jets named VLJs which inherits from
Posted: Fri Jul 08, 2022 6:36 am
You are given a Jets class and required to create a new class for very light private jets named VLJs which inherits from the parent class Jets. Under this new class, define 4 methods regarding engine, seat, tail and speed. Make sure the new class has its own initialization method (constructor or _init___) which takes only one parameter: self and overrides name and origin attributes to "VLJs" and "South Africa" always as those don't change for an VLJs private jets. Add 3 more attributes: engine, seat, tail which are all having a value 2 by default. Print the values of these attributes as the output of the program. The output should be printed in one line as: "2 2 South Africa" using 3 different print statements. class Jets: model = None country = 0 def __init__(self, name, country): self.type = "Jet" self.area = "Air" self.name = name self.origin = country