forked from tdwojak/Python2018
zrobiono zadanie 1
This commit is contained in:
parent
8c082cfeb7
commit
f0a92e0f68
@ -7,7 +7,7 @@ która zawiera tylko elementy z list o parzystych indeksach.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def even_elements(lista):
|
def even_elements(lista):
|
||||||
pass
|
return lista [::2]
|
||||||
|
|
||||||
|
|
||||||
def tests(f):
|
def tests(f):
|
||||||
@ -22,4 +22,4 @@ def tests(f):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print(tests(even_elements))
|
print(tests(even_elements))
|
Loading…
Reference in New Issue
Block a user