标签:range nbsp tools reduce lambda code class port result
import functools result = (lambda k: functools.reduce(int.__mul__, range(1, k + 1), 1))(5) print(result)
标签:range nbsp tools reduce lambda code class port result
原文地址:https://www.cnblogs.com/xxt77/p/12701566.html