清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
def prime(b): t=b/2 for i in range(2,t+1): if b%i==0: break else: return b if __name__=="__main__": a=input('please input the first number:') b=input('please input the next number:') list=[] for i in range(a,b+1): if prime(i): list.append(prime(i)) print 'the prime list is %s'%list