收起
import math n=10 a=sum(map(lambda x:1/math.factorial(x),range(n+1))) print(a)
如果对你有帮助,可以点击我这个回答右上方的【采纳】按钮,给我个采纳吗,谢谢
报告相同问题?