(continued from previous page from pythonic import ring class box(ring)""modified perimeter for creating the box "" def perimeter(self)override the method 'perimeterperimeter is increased times return ring perimeter(self def main() box(radius= pass radius print("radius:" radiusprint("modified perimeter% perimeter()( *pi*radius if __name__ ='__main__'main(following is the output of above codepython box py radius modified perimeter notenowwe have two users who are modifying the class attributes first is the mathematician (mathematician py)who is modifying the 'radiusin listing and other is the box companywho is modifying the method 'perimeterin listing lastlywe have contributor who is creating 'table formatterin listing for displaying the output nicely rewrite table formatter using inheritance abstract class the contributor decided to add more print-formats for the table for thishe decided to use inheritance to rewrite the code listing using inheritance alsothe contributor used the abstract class at line with two abstract methods the abstract methods are compulsory to be implemented in the child class importantthe abstract methods are compulsory to be implemented in the child class in the other wordsthe abstract class is the way to force the child class to implement certain methodwhich are decorated with 'abstractmethodhere the aim is to rewrite the code in listing such that we need not to change anything in the function 'main()in the other wordsif the main(function works fine as it isthen it ensures that the code will not break for the userswho are using listing for printing the table below is the modified listing listing print-format using inheritance contributor py user- additional features will be added to pythonic py by the contributor (continues on next page rewrite table formatter using inheritance