You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
146 B
13 lines
146 B
11 years ago
|
def report(s):
|
||
|
l = list(s)
|
||
|
l.sort()
|
||
|
print(l)
|
||
|
|
||
|
s = {1}
|
||
|
s.update()
|
||
|
report(s)
|
||
|
s.update([2])
|
||
|
report(s)
|
||
|
s.update([1,3], [2,2,4])
|
||
|
report(s)
|