python脚本4_求1到5阶乘之和时间:2023-03-09 05:46:05 #求1到5阶乘之和 # a = 1 sum = 0 for i in range(1,6): a = i*a sum = sum+a print(sum)