an error even when we execute a program which shows in our output.
For the number 3, we are required to create a child class ‘Bus’
that will inherit all of the variables and methods of the base class.
First we started with the header of the program “This is a Child Class
Bus”.
Then next is the given Vehicle class.
We use the __init__ function and instance variables to start the
attributes. Following that, we created the child class which is the ‘BUS’.
We used the pass statement because we only want to inherit the
attributes of the parent class.
Following that, we created our object and assigned values to it. Finally,
we used the print function and manually called each value to output
the object's inherited attributes that we had previously created.
For the next slide we have Mr. Calamba to present it.