SyntaxFix
Write A Post
Hire A Developer
Questions
Using only standard library distributed with Python:
import itertools def nCk(n, k): return len(list(itertools.combinations(range(n), k)))