计算阶乘

a=1
b=int(input())
for i in range(1,b+1):
    a=a*i
print(a)

 

posted @ 2020-03-30 20:57  李嘉豪28  阅读(120)  评论(0)    收藏  举报