import math


def find_pi(decimals):
    """
    Calculate PI with 'n' number os decimal places
    :param decimals: number of decimal places in PI
    :return: the value of PI with 'n' decimal places
    """
    precision = f'.{decimals}f'
    return float("{r:{p}}".format(r=math.pi, p=precision))