python 如何实现print 10个数字为一行输出 帮帮忙吧 实在不知道怎么写
N=500 b=0 for a in range(1,N+1): if not a%3 and not a%5: b+=1 if b%10: print(a,end=' ') else: print(a)