Here is the code:
a_factaral=lambda n:n*((n-1 and a_factaral(n-1)-1)+1)
It works fine in the console. Any idea why it fails with max recursion error during the actual test?
5
2