y-combinator

Can a lambda function call itself recursively in Python?

Can a lambda function call itself recursively in Python? Question: A regular function can contain a call to itself in its definition, no problem. I can’t figure out how to do it with a lambda function though for the simple reason that the lambda function has no name to refer back to. Is there a …

Total answers: 17