From 52ec69475dee2d3ad28950f004ad42dda20e518f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Maliszewski?= Date: Wed, 13 Jun 2018 17:41:33 +0000 Subject: [PATCH] Zaktualizuj 'labs02/test_task.py' --- labs02/test_task.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/labs02/test_task.py b/labs02/test_task.py index 88b1fe6..f3ac945 100755 --- a/labs02/test_task.py +++ b/labs02/test_task.py @@ -2,11 +2,13 @@ # -*- coding: utf-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)]