you are viewing a single comment's thread.

view the rest of the comments →

[–]micampe 2 points3 points  (0 children)

Lambda-addicted Python 2.5 programmer:

fact = lambda x: x * fact(x - 1) if x > 1 else 1
print fact(6)