Python рассчитывает факториал
def factorial(n):
fact = 1
for num in range(2, n + 1):
fact = fact * num
return(fact)
Obedient Ox
def factorial(n):
fact = 1
for num in range(2, n + 1):
fact = fact * num
return(fact)
Def factorial(p) :
F=1
For in range (1,p+1):
F=f*i
Return (f)