RosettaCodeData/Task/Factorial/Python/factorial-1.py

3 lines
30 B
Python

import math
math.factorial(n)