15 lines
174 B
Python
15 lines
174 B
Python
|
# basic sets
|
||
|
|
||
|
try:
|
||
|
frozenset
|
||
|
except NameError:
|
||
|
print("SKIP")
|
||
|
import sys
|
||
|
sys.exit()
|
||
|
|
||
|
s = frozenset({1})
|
||
|
print(s)
|
||
|
|
||
|
s = frozenset({3, 4, 3, 1})
|
||
|
print(sorted(s))
|