n = 1

s = 1

while True:

s *= n

if s > 10000:

    break

n += 1

print("n!的值小于等于10000的最大整数n为:", n-1)

用 python 编写程序用于计算n!的值小于等于10000时n的最大值。n!=123n___________s=1while True s=n _________________ if _________________ breakprintn!的值小于等于10000的最大整数n为:n-2

原文地址: https://www.cveoy.top/t/topic/bigi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录