清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
def find_prime(n): L = list(range(2,n + 1)) m = 0 while m < len(L): n = m + 1 while n < len(L): if L[n]%L[m] == 0: del L[n] n = n + 1 m = m + 1 return L print(find_prime(n))
2015/05/15 38590
清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
def find_prime(n): L = list(range(2,n + 1)) m = 0 while m < len(L): n = m + 1 while n < len(L): if L[n]%L[m] == 0: del L[n] n = n + 1 m = m + 1 return L print(find_prime(n))