DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+6 =
Submit