Vidyalelo
Python · Q45

MCQs on Python Tuples: Exam

Programming · Python · question 45

Q45

What will be the output of the following Python code? >>> a,b=6,7 >>> a,b=b,a >>> a,b

A.
(6,7)
B.
Invalid syntax
C.
(7,6)
Answer
D.
Nothing is printed

Answer: Option C

Solution

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