Vidyalelo
Python · Q60

MCQs on Python Tuples: Exam

Programming · Python · question 60

Q60

What will be the output of the following Python code? >>> a=(1,2) >>> b=(3,4) >>> c=a+b >>> c

A.
(4,6)
B.
(1,2,3,4)
Answer
C.
Error as tuples are immutable
D.
None

Answer: Option B

Solution

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