标签:pytho python基础 for pen append 输出 bsp break python
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)
标签:pytho python基础 for pen append 输出 bsp break python
原文地址:http://www.cnblogs.com/jietingting/p/7076870.html