s=[]
for a in range(101,201):
mark=True
for b in range(2,a):
if a%b==0:
mark=False
break
if mark==True:
s.append(a)
print s
print len(s)
转载于:https://www.cnblogs.com/jietingting/p/7076870.html