Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 15th, 2019
129
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
n
=
int
(
input
(
"Введите число"
)
)
data
=
[
a
for
a
in
range
(
2
,
n+
1
)
]
print
(
data
)
i
=
0
for
i
in
data:
for
k
in
range
(
2
,
i +
1
)
:
if
i % k
==
0
and
i
!=
k:
data.
remove
(
i
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Return Of The Jedi 3
9 hours ago | 0.97 KB
Return Of The Jedi 2
9 hours ago | 0.86 KB
Return Of The Jedi 1
9 hours ago | 1.15 KB
Slave Ship 4
9 hours ago | 0.32 KB
Slave Ship 3
9 hours ago | 2.28 KB
Slave Ship 2
9 hours ago | 0.62 KB
Legacy Of The Force Revelations 6
9 hours ago | 0.54 KB
Legacy Of The Force Revelations 5
10 hours ago | 0.38 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!