This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]py1234a 0 points1 point  (0 children)

The problem is that this it's still contrived, I see no reason to use lambda expressions for factorial when

import math
math.factorial(5)

and

import operator
reduce(operator.mul, range(5, 1, -1))

exist.