16
What is the output of the following code?
def fact(n):
return 1 if n <= 1 else n * fact(n - 1)
print(fact(5))DiscussEasy
Loading subject content…
Loading practice questions…