Python lambda function to calculate factorial of a number

前端 未结 11 1258
误落风尘
误落风尘 2020-12-30 12:00

I have just started learning python. I came across lambda functions. On one of the problems, the author asked to write a one liner lambda function for factorial of a number.

11条回答
提交回复
热议问题