from math import pi


class Circle:
    def __init__(self, radius):
        self.radius = radius

    def getArea(self):
        return pi * this.radius**2

    def getPerimeter(self):
        return pi * 2 * this.radius
