>>> from math import comb >>> comb(10,3) 120
Here is what the above code is Doing:
1. We are importing the math module.
2. We are using the comb function from the math module.
3. We are passing in the values 10 and 3 to the comb function.
4. The comb function returns the value 120.