Python - Class Methods and Static Methods
What will be the output of this code?
class Circle:
pi = 3.14
def __init__(self, radius):
self.radius = radius
@classmethod
def area(cls, radius):
return cls.pi * radius * radius
print(Circle.area(5))