Quest Global engineering tools need a small utility that computes factorial values for input calculations. Given a non-negative integer n, return n!, defined as the product of every integer from 1 through n.
Implement factorial(n).
n where 0 <= n <= 20.n!.0! as 1.def factorial(n):