From 95eba0f25ed1086c01f62156554e68c46a181b4a Mon Sep 17 00:00:00 2001 From: s407545 Date: Sun, 13 May 2018 08:45:57 +0200 Subject: [PATCH] =?UTF-8?q?rozwi=C4=85zanie=20zadania=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- labs01/podstawy.py | 2 +- labs02/intro_task.py | 2 +- labs02/test_task.py | 3 ++- labs04/examples/06_execution_time.py | 0 labs04/examples/25_ip2geolocation.py | 0 5 files changed, 4 insertions(+), 3 deletions(-) mode change 100755 => 100644 labs02/test_task.py mode change 100755 => 100644 labs04/examples/06_execution_time.py mode change 100755 => 100644 labs04/examples/25_ip2geolocation.py diff --git a/labs01/podstawy.py b/labs01/podstawy.py index f8bbde1..fb477b7 100644 --- a/labs01/podstawy.py +++ b/labs01/podstawy.py @@ -168,7 +168,7 @@ for i in range(5):# range[5] = [0,1,2,3,4] for zmienna in lista: # operacje do wykonania w pętli - + pass # In[ ]: diff --git a/labs02/intro_task.py b/labs02/intro_task.py index 92164f5..9208772 100644 --- a/labs02/intro_task.py +++ b/labs02/intro_task.py @@ -9,7 +9,7 @@ Zadania wprowadzające do pierwszych ćwiczeń. """ Wypisz na ekran swoje imię i nazwisko. """ - +print("Andrea Góralczyk") """ Oblicz i wypisz na ekran pole koła o promienie 10. Jako PI przyjmij 3.14. diff --git a/labs02/test_task.py b/labs02/test_task.py old mode 100755 new mode 100644 index 88b1fe6..aceda0b --- a/labs02/test_task.py +++ b/labs02/test_task.py @@ -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)] diff --git a/labs04/examples/06_execution_time.py b/labs04/examples/06_execution_time.py old mode 100755 new mode 100644 diff --git a/labs04/examples/25_ip2geolocation.py b/labs04/examples/25_ip2geolocation.py old mode 100755 new mode 100644