forked from tdwojak/Python2017
Merge branch 'master' of https://git.wmi.amu.edu.pl/tdwojak/Python2017
# Conflicts: # labs02/test_task.py
This commit is contained in:
parent
ac68c51136
commit
8eda90d9f8
3
labs03/task01.py
Normal file
3
labs03/task01.py
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
print(id([3,5]))
|
||||||
|
print(id('kot'))
|
||||||
|
print(id(3.25))
|
@ -1,14 +0,0 @@
|
|||||||
def dwojak(x): x *= 2
|
|
||||||
|
|
||||||
|
|
||||||
l = [1, 2, 3]
|
|
||||||
s = "123"
|
|
||||||
|
|
||||||
dwojak(l)
|
|
||||||
dwojak(s)
|
|
||||||
|
|
||||||
print(l)
|
|
||||||
print(s)
|
|
||||||
|
|
||||||
print(l)
|
|
||||||
print(s)
|
|
Loading…
Reference in New Issue
Block a user