Python 101 : Overriding function - The super() method -

When we override a function in a subclass. The super() function helps us call the "original" method in the parent class as we can see in the simple example below:


Overridden functions are functions in the subclass that have the same signature - parameters and name - as the function in the parent class but does different things.


Leave as a comment: