Why the function return 24? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

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

19th May 2020, 1:08 PM
Gleboffsky
Gleboffsky - avatar
0 Answers