Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for k in range(1,5001):
- v=True
- for i in range(2,k):
- if (k%i==0):v=False
- if v:print k
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement