Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python calculate total number of permutations

from math import factorial
def nPr(n, r):
    return int(factorial(n)/factorial(n-r))
 
PREVIOUS NEXT
Tagged: #python #calculate #total #number #permutations
ADD COMMENT
Topic
Name
1+7 =