21
What is the output of the following code?
def fact(n):
return 1 if n <= 1 else n * fact(n - 1)
print(fact(6))Easy
What is the output of the following code?
def fact(n):
return 1 if n <= 1 else n * fact(n - 1)
print(fact(6))Log in to join the discussion.