Created
November 8, 2022 15:26
-
-
Save abiriadev/4256a401a625528f60892fad648d7d1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p = [] | |
for i in range(2, 100000): | |
for j in range(2, i): | |
if i % j == 0: | |
break | |
else: | |
p.append(i) | |
# print(p) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment