forked from tdwojak/Python2018
rozwiazanie zad 1
This commit is contained in:
parent
41207a9a35
commit
e016297618
@ -166,8 +166,9 @@ for i in range(5):# range[5] = [0,1,2,3,4]
|
||||
# In[ ]:
|
||||
|
||||
|
||||
for zmienna in lista:
|
||||
for zmienna in oceny:
|
||||
# operacje do wykonania w pętli
|
||||
pass
|
||||
|
||||
|
||||
# In[ ]:
|
||||
|
3
labs02/test_task.py
Executable file → Normal file
3
labs02/test_task.py
Executable file → Normal file
@ -6,7 +6,8 @@ def suma(a, b):
|
||||
"""
|
||||
Napisz funkcję, która zwraca sumę elementów.
|
||||
"""
|
||||
return 0
|
||||
wynik = a + b
|
||||
return wynik
|
||||
|
||||
def tests(f):
|
||||
inputs = [(2, 3), (0, 0), (1, 1)]
|
||||
|
Loading…
Reference in New Issue
Block a user