天天看点

1-100累乘                                                                   -------  知识无价,汗水有情,如需搬运请注明出处,谢谢!

i = 1
sum = 1
while i <= 100:
    sum *= i
    i += 1
print(sum)
      

  

                                                                   -------  知识无价,汗水有情,如需搬运请注明出处,谢谢!