Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = [2,]
- for i in xrange(3, 200000, 2):
- simple = True
- for j in x:
- if i % j == 0:
- simple = False
- break
- if simple:
- x.append(i)
- print x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement