input: Write a python function to calculate the area of a circle given its radius using a class.
  assert MyClass(10).area() == 314.0
  assert MyClass(5).area() == 78.5
  assert MyClass(0).area() == 0.0
output: import math
  
  class MyClass:
      def __init__(self, radius):
          self.radius = radius
  
      def area(self):
          return round(math.pi * (self.radius ** 2), 1)