一行代码求1~100的阶乘

print reduce(lambda x, y: x*y, xrange(1, 101))

编程技巧