forked from tdwojak/Python2017
Update 'labs02/task01.py'
This commit is contained in:
parent
b62e43effe
commit
819b314e17
@ -7,8 +7,10 @@ która zawiera tylko elementy z list o parzystych indeksach.
|
||||
"""
|
||||
|
||||
def even_elements(lista):
|
||||
pass
|
||||
|
||||
x=len(lista)
|
||||
list = lista[1:x:2]
|
||||
return list
|
||||
pass
|
||||
|
||||
def tests(f):
|
||||
inputs = [[[1, 2, 3, 4, 5, 6]], [[]], [[41]]]
|
||||
|
Loading…
Reference in New Issue
Block a user