forked from tdwojak/Python2017
gitowe_testy
This commit is contained in:
parent
d5755b6965
commit
bd9ffb843a
@ -6,7 +6,7 @@ def suma(a, b):
|
||||
"""
|
||||
Napisz funkcję, która zwraca sumę elementów.
|
||||
"""
|
||||
pass
|
||||
return a + b
|
||||
|
||||
def tests(f):
|
||||
inputs = [(2, 3), (0, 0), (1, 1)]
|
||||
@ -20,3 +20,6 @@ def tests(f):
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(tests(suma))
|
||||
|
||||
|
||||
### 5 ostatnich zadań, to zadania domowe
|
Loading…
Reference in New Issue
Block a user