题解 | #KiKi求质数个数#
KiKi求质数个数
http://www.nowcoder.com/practice/d3a404ee0f8d41f98bf4707035d91086
i = 100
co = 0
while i<1000:
j = 2
while j < i:
if(i%j == 0):
break
elif(j == i - 1):
co = co + 1
j = j + 1
i = i + 1
print(int(co))