照猫化虎求阶乘

n=int(input())
sum=1
for i in range(1,n+1):
sum=sum*i
print(sum)

 

posted @ 2021-09-12 22:07  tan45  阅读(38)  评论(0)    收藏  举报