kopia lustrzana https://github.com/micropython/micropython
9 wiersze
105 B
Python
9 wiersze
105 B
Python
|
s = {1, 2, 3, 4}
|
||
|
t = s.copy()
|
||
|
s.add(5)
|
||
|
t.add(7)
|
||
|
for i in s, t:
|
||
|
l = list(i)
|
||
|
l.sort()
|
||
|
print(l)
|