Run
import math n = 4 result = math.perm(n) print('perm(n) :', result)
Output