[ create a new paste ] login | about

Link: http://codepad.org/87M7WjW8    [ raw code | fork ]

Python, pasted on Nov 3:
1
2
3
4
5
Number fact = method(
    reduce(block(a, n, a * n), (1 .. self) asList, 1)
)

print(10 fact())


Create a new paste based on this one


Comments: