ncr in python library code example
Example 1: python choose function
deck = range(1, 53) #get deck of cards from 1 to 52
comb = list(itertools.combinations(deck, 2)) # make list with unic 2 cards combination
len(comb) #output 1326
Example 2: python choose function
>>> from math import comb
>>> comb(20,10)