Python, Oop, Programming, Technology, Software Development.
Output: The area is 12 print_area(circ) # Output: The area is 78.5 In this example, the print_area function can take any object that has an area method. When called with a Rectangle or Circle object, it prints the area of the respective shape. This demonstrates polymorphism by allowing the same