Learn To Solve It
Find the factorial (n!) of a number n.
import operator from functools import reduce print(reduce(operator.mul, range(1,10)))
See also
Suggest a Code Improvement:algorithm_fact2.py
Suggest a better explanation for algorithm_fact2.rst
previous
Fibonacci Series
next
Representing a Graph