perm ou nPr takes as argument two integers n and p. perm(n,p) or nPr(n,p) returns Anp. Input :
Output :