如题所述
for i in range(100,1000):
for j in range(2,i):
if i%j==0:
break
else:
print(i,end=',')
每行输出10个,共143个,如图。