Inheritance in python

Inheritance is a well-established object oriented programming principle. In python, inheritance can be do easily by calling super class in sub class at the time of sub class declaration. In our inheritance example we convert binary to decimal in super class which was inherited by sub classes to convert in octal and hex respectively. Find the example for inheritance in python.