收起
num = 1500 for i in range(1500 - 500,1500): if i%3 ==2 and i%5 ==4 and i%7==6: print("还剩余士兵:",i,"人")
报告相同问题?