python的程序为:
for i in range(1,201): if i%5==0 or i%7==0: print(str(i)+"*",end=',') else: print(i,end=',')
结果为
如本站内容“对您有用”,欢迎随意打赏,让我们持续更新!