Calculate Execution Time Python Function Example Code For Inheritance