用python实现:找出1到101 之间的质数

#coding=utf-8


for i in range(2,101):
j = 2

while(i%j != 0):
j +=1
if j == i:
print(i)
原文地址:https://www.cnblogs.com/maxiaotu/p/6816837.html