Free webinar! How to Make Generative AI Work for You
Get my free ticket0
Why the function return 24?
def func(num): g=(lambda x:1 if x==1 else x*g(x-1)) return g(num) print(func(4))
0 Answers
def func(num): g=(lambda x:1 if x==1 else x*g(x-1)) return g(num) print(func(4))