menghitung kombinasi python

# Counting combinations
# nCk = n! / (k!(n-k)!)
from math import comb
>>> comb(10,3)
120
BreadCode