标签: python numbers
我正在研究主要的生成方法。
我当前正在使用此
[2]+[i for i in range(3,n,2) if sum([1 if i%j==0 else 0 for j in range(3,i,2)])==0]