def pyramid_sym(n: int):
    r = range(0, n)
    val = [((n / 2) - abs((x - ((n - 1) / 2)))) for x in r]
    val = (val / np.sum(val))
    return val
def pyramid_sym(n: int):
    r = range(0, n)
    val = [((n / 2) - abs((x - ((n - 1) / 2)))) for x in r]
    val = (val / np.sum(val))
    return val