Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Filter in Python
elena1234
Feb 1st, 2022
(
edited
)
289
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.13 KB
| None
|
0
0
raw
download
clone
embed
print
report
text
=
input
(
)
.
split
(
' '
)
sequence2
=
list
(
map
(
int
,
text
)
)
result
=
filter
(
lambda
x: x %
2
==
0
,
sequence2
)
print
(
list
(
result
)
)
Add Comment
Please,
Sign In
to add comment
Public Pastes
Your Bitcoin Wallet Credentials have been res...
GetText | 31 min ago | 0.26 KB
⭐ get any gift card for FREE
JavaScript | 39 min ago | 0.05 KB
⭐ giftcards for free
JavaScript | 1 hour ago | 0.05 KB
[MetArt] Chloe Moss, Lorelei, Tisha, Sammy -...
HTML | 1 hour ago | 68.27 KB
animation gui
Lua | 2 hours ago | 11.10 KB
LiveTV
JSON | 3 hours ago | 7.70 KB
VISA AND PASSPORT
C | 4 hours ago | 0.66 KB
Untitled
HTML | 4 hours ago | 0.56 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!