Computer Science - Object-Oriented Programming - Inheritance - Build the Hierarchy
Complete inheritance code. P1: 'Shape hierarchy' → class Shape: def area(self): pass; class Circle(___): [Shape] def __init__(self, r): self.r = r; def area(self): return 3.14 * self.r ** 2. P2: 'Call parent constructor' → class Employee(Person): def __init__(self, name, salary): ___.__init__(name)