Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

counting combinations python

# Counting combinations
# nCk = n! / (k!(n-k)!)
from math import comb
>>> comb(10,3)
120
 
PREVIOUS NEXT
Tagged: #counting #combinations #python
ADD COMMENT
Topic
Name
5+6 =