獲取您自己的 Python 伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
# Import math Library import math # Initialize the number of items to choose from n = 7 # Initialize the number of possibilities to choose k = 5 # Print total number of possible combinations print (math.comb(n, k))
21