sscasc@tumkur def perimeter(self)return (self self bsqr=square( , print(sqr area()print(sqr perimeter()the square class will automatically inherit all attributes of the rectangle class as well as the object class super(refers to the superclass using super(we avoid referring the superclass explicitly super(is used to call the __init__method of rectangle classessentially calling any overridden method of the base class when invoking method using super()don' pass self in the argument types of inheritancesingle inheritance multiple inheritances in multiple inheritance subclass inherited from more than one parent class and is able to access functionality from both of them syntaxclass avariable of class functions of class class bvariable of class functions of class class (ab)class inheriting property of both class and add more properties to class multilevel inheritance class aproperties of class class ( )class inheriting property of class properties of class class ( )class inheriting property of class class also inherits properties of class properties of class sp_python programming