4c2 in python code example
Example: python nCr n choose r function
# Basic syntax:
from math import comb
comb(n, r) # calculates "n choose r" aka nCr aka binomial coefficients
# Basic syntax:
from math import comb
comb(n, r) # calculates "n choose r" aka nCr aka binomial coefficients