Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
even numbers
Sichanov
Sep 19th, 2021
190
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
Python
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
nums
=
list
(
map
(
int
,
input
(
)
.
split
(
', '
)
)
)
even_nums
=
list
(
filter
(
lambda
index: nums
[
index
]
%
2
==
0
,
range
(
len
(
nums
)
)
)
)
print
(
even_nums
)
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
config
Batch | 22 min ago | 0.38 KB
config.py
23 min ago | 0.37 KB
startup.lua
Lua | 3 hours ago | 0.33 KB
BIP32
9 hours ago | 0.35 KB
OoT rando seed 12/2
9 hours ago | 109.60 KB
Change your mindset
12 hours ago | 0.08 KB
Untitled
13 hours ago | 0.52 KB
P4IGNORE for Unreal Development
14 hours ago | 2.10 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!