logo

Crowdly

Browser

Add to Chrome

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

✅ 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))

More questions like this

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome