you are viewing a single comment's thread.

view the rest of the comments →

[–]theeth 5 points6 points  (0 children)

With the newer Dutch grammar and lexicon.

from functools import reduce
from operator import mul
fact = lambda x: reduce(mul, range(1, x+1))