index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a189.py
blob: 80ca625fc4edfaba8b18cac28567b74eb125e9ae (
plain
)
1
2
def
even_position
(
nums
):
return
all
(
nums
[
i
]
%
2
==
i
%
2
for
i
in
range
(
len
(
nums
)))