n=int(input())sum=1for i in range(1,n+1): sum=sum*iprint(sum)
照猫化虎求阶乘
原文:https://www.cnblogs.com/tan45/p/15260332.html