📜  python nCr n 选择 r 函数 - Python 代码示例
📅  最后修改于: 2022-03-11 14:45:23.068000             🧑  作者: Mango
代码示例1
# Basic syntax:
from math import comb
comb(n, r) # calculates "n choose r" aka nCr aka binomial coefficients