What Is The Syntax Of The Following Python Codep Pre Langpython #503
What is the syntax of the following Python code?</p> <pre><code class="language-python"> >>> a=frozenset(set([5,6,7])) >>> a </code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Sets - Python Sets - Quiz No.2.
What is the syntax of the following Python code?
>>> a=frozenset(set([5,6,7])) >>> a
{5,6,7}
frozenset({5,6,7})
Error, not possible to convert set into frozenset
Syntax error