What is a frozenset in Python?
-
A
A sorted set
-
B
An immutable set
Correct answer
-
C
A set of strings
-
D
A set limited to 10 items
Correct answer
B. An immutable set
Explanation
frozenset is an immutable, hashable version of set.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ