Python - Polymorphism and Dynamic Behavior
Identify the problem in this code:
class Shape:
def area(self):
return 0
class Square(Shape):
def area(self, side):
return side * side
s = Square()
print(s.area())