for i in range(2,100):
for j in range(2,i):
if i%j==0:
break
else:
print(i,end='\t')
python 素数判断
最新推荐文章于 2024-03-04 14:24:46 发布
for i in range(2,100):
for j in range(2,i):
if i%j==0:
break
else:
print(i,end='\t')