From bd9ffb843a20987e337edd60c84648cff45e5d81 Mon Sep 17 00:00:00 2001 From: s45153 Date: Sun, 19 Nov 2017 14:56:37 +0100 Subject: [PATCH] gitowe_testy --- labs02/test_task.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/labs02/test_task.py b/labs02/test_task.py index 5879768..7f61b86 100755 --- a/labs02/test_task.py +++ b/labs02/test_task.py @@ -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 \ No newline at end of file