logo

Crowdly

Browser

Add to Chrome

Які помилки допущені у коді нижче? def factorial(n): if n == 0: return ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Які помилки допущені у коді нижче?

def factorial(n):

if n == 0:

return 1

else:

return n * factorial(n - 1)

print(factorial(5))

0%
100%
0%
0%
More questions like this

Want instant access to all verified answers on elr.tnpu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome