#38293: python


40957017O (unknown)

學校 : 國立臺灣師範大學
編號 : 249669
來源 : [150.117.167.160]
最後登入時間 :
2024-05-01 16:48:24
c120. 00623 - 500! -- UVa623 | From: [150.117.167.160] | 發表日期 : 2023-11-10 19:37

while True:
  try:
    n = int(input())
    product = 1
    i = 1
    while (i <= n):
      product *= i
      i += 1
    print(str(n)+"!")
    print(product)
  except:
    break
 
ZeroJudge Forum