johnmahugu

python find factorial of a series of number in one line

Jun 3rd, 2015
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.05 KB | None | 0 0
  1. (lambda k: reduce(int.__mul__, range(1,k+1),1))(8)
Advertisement
Add Comment
Please, Sign In to add comment