Related Articles

Related Articles

Python-Quizzes | Python Tuples Quiz | Question 4
  • Last Updated : 18 Sep, 2020

Question 4: What is the output of the following program?




tuple = (1, 2, 3
print(2 * tuple


(A) (1, 2, 3, 1, 2, 3)
(B) (1, 2, 3, 4, 5, 6)
(C) (3, 6, 9)

(D) Error


Answer: (A)

Explanation: The ‘*’ operator is used to concatenate tuples.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :