Python, Oop, Programming, Technology, Software Development.
It can also be achieved with functions that can take objects of different classes and perform the same operation. class Rectangle: def __init__(self, width, height): self.width = width self.height = height def area(self): return self.width * self.height class Circle: def __init__(self, radius):