Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Решето Эратосфена
Kwwiker
Jun 20th, 2021
1,088
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
=
int
(
input
(
)
)
A
=
[
True
]
*
(
n+
1
)
k
=
2
while
k*k
<=
n:
if
A
[
k
]
:
i
=
k*k
while
i
<=
n:
A
[
i
]
=
False
i+
=
k
k +
=
1
for
i
in
range
(
2
,
n+
1
)
:
if
A
[
i
]
:
print
(
i
,
end
=
' '
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
🚨🚨 Swapzone +$1,000 Promotion ✅⭐
JavaScript | 13 sec ago | 0.66 KB
⭐⭐⭐ Easy money $1,000 in 30 minutes
JavaScript | 1 min ago | 0.67 KB
⭐⭐ Crypto Swap Glitch ✅ Easy money ⭐⭐
JavaScript | 1 min ago | 0.67 KB
📌📌📌 Insane Paid BTC Exploit 📌📌 🔥🚨
JavaScript | 2 min ago | 0.66 KB
⭐⭐ Instant Money Method ⭐⭐
JavaScript | 3 min ago | 0.67 KB
Infinite Money Glitch
JavaScript | 3 min ago | 0.67 KB
⭐⭐ Crypto Swap Glitch ✅ Easy money ⭐ ⭐✅
JavaScript | 4 min ago | 0.66 KB
⭐⭐ INSTANT MONEY EXPLOIT ⭐⭐
JavaScript | 5 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!