Answers for "counting combinations python"

0

counting combinations python

# Counting combinations
# nCk = n! / (k!(n-k)!)
from math import comb
>>> comb(10,3)
120
Posted by: Guest on September-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language