1
0
forked from tdwojak/Python2017
# Conflicts:
#	labs02/test_task.py
This commit is contained in:
s45162 2017-12-02 15:28:00 +01:00
parent 505e2aa30c
commit 5fbc3b57d4
4 changed files with 14 additions and 1 deletions

View File

@ -24,3 +24,5 @@ def tests(f):
if __name__ == "__main__":
print(tests(even_elements))

View File

@ -15,7 +15,7 @@ def sum_from_one_to_n(n):
sum+=i
return sum
print(sum_from_one_to_n(3))
def tests(f):

View File

11
labs03/task_lab_01.py Normal file
View File

@ -0,0 +1,11 @@
def dwojak(x): x *= 2
l = [1, 2, 3]
s = "123"
dwojak(l)
dwojak(s)
print(l)
print(s)