Python, Programming, Data Science, Artificial Intelligence, Data.
print("Quack!") class Person: def quack(self): print("I'm quacking like a duck!") def make_it_quack(obj): obj.quack() duck = Duck() person = Person() make_it_quack(duck) # Output: Quack! make_it_quack(person) # Output: I'm quacking like a duck! n this example, we define two classes, Duck and