Evaluate binomial coefficients
Write a function to calculate the binomial coefficient for the given value of n and k.
This formula is recommended:
$\binom{n}{k} = \frac{n!}{(n-k)!k!} = \frac{n(n-1)(n-2)\ldots(n-k+1)}{k(k-1)(k-2)\ldots 1}$
Test
{{test}}Console output