1
0
forked from tdwojak/Python2017

Update 'labs02/task01.py'

This commit is contained in:
s45164 2017-12-01 17:09:45 +00:00
parent b62e43effe
commit 819b314e17

View File

@ -7,8 +7,10 @@ która zawiera tylko elementy z list o parzystych indeksach.
""" """
def even_elements(lista): def even_elements(lista):
pass x=len(lista)
list = lista[1:x:2]
return list
pass
def tests(f): def tests(f):
inputs = [[[1, 2, 3, 4, 5, 6]], [[]], [[41]]] inputs = [[[1, 2, 3, 4, 5, 6]], [[]], [[41]]]