def binomial_coefficients_list(n):
    d = [1] * (n + 1)
    a = 1
    for k in range(1, n//2 + 1):
        a = (a * (n - k + 1))//k
        d[k] = d[n - k] = a
    return d
Deepcopy helper for the data dictionary or list.
dataset/ETHPy150Open sympy/sympy/sympy/ntheory/multinomial.py/binomial_coefficients_list--crossover with--dataset/ETHPy150Open blynch/CloudMemeBackend/pymongo/cursor.py/Cursor._deepcopy