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.
17 lines
200 B
17 lines
200 B
# basic sets
|
|
|
|
try:
|
|
frozenset
|
|
except NameError:
|
|
print("SKIP")
|
|
import sys
|
|
sys.exit()
|
|
|
|
s = frozenset()
|
|
print(s)
|
|
|
|
s = frozenset({1})
|
|
print(s)
|
|
|
|
s = frozenset({3, 4, 3, 1})
|
|
print(sorted(s))
|
|
|