✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
The following function is supposed to compute and display the
value of n-factorial for integers greater than 0.
def factorial(n) : result = 1 for i in range(1, n + 1) : result = result * iWhat is wrong with this function?