✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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?