Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Filter in Python
elena1234
Feb 1st, 2022
(
edited
)
314
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
TEST E22
Lua | 1 min ago | 1.13 KB
2D StickPool Game C++ D2D VectorGFX (O3 AI...
C++ | 5 min ago | 213.36 KB
wcfm_country_shipping_only_local_pickup
PHP | 19 min ago | 0.82 KB
thumbnail-prioritize display none
CSS | 30 min ago | 0.07 KB
SQL_EXAM
MySQL | 38 min ago | 3.45 KB
1.12.2 OC BigReactors up to 4 reactors data l...
Lua | 41 min ago | 2.68 KB
font preview scrolled
CSS | 59 min ago | 0.09 KB
10-07
HTML | 1 hour ago | 0.09 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!