Vidyalelo
Python · Q43

MCQs on Python Tuples: Exam

Programming · Python · question 43

Q43

Is the following Python code valid? >>> a,b,c=1,2,3 >>> a,b,c

A.
Yes, [1,2,3] is printed
B.
No, invalid syntax
C.
Yes, (1,2,3) is printed
Answer
D.
1 is printed

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board