Explain polymorphism.
Asked in the Technical screening stage.
Demonstrate the concept by implementing total_area(shapes). The input is an array of shape maps, each containing either rectangle dimensions or a circle radius. Create appropriate shape objects with a shared area() operation and return the sum of all areas, rounded to two decimal places. The function must support both shape types without placing type-specific area logic in the main loop.
rectangle or circledef total_area(shapes):