Is The Following Python Code Validp Pre Langpython #476
Is the following Python code valid?</p> <pre><code class="language-python"> >>> a,b,c=1,2,3 >>> a,b,c </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 Tuples - Python Tuples - Quiz No.3.
Is the following Python code valid?
>>> a,b,c=1,2,3 >>> a,b,c
Yes, [1,2,3] is printed
No, invalid syntax
Yes, (1,2,3) is printed
1 is printed