Vidyalelo
Python · Q44

MCQs on Python Tuples: Exam

Programming · Python · question 44

Q44

What will be the output of the following Python code? >>>t = (1, 2) >>>2 * t

A.
(1, 2, 1, 2)
Answer
B.
[1, 2, 1, 2]
C.
(1, 1, 2, 2)
D.
[1, 1, 2, 2]

Answer: Option A

Solution

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