Open In App

Python-Quizzes | Python Tuples Quiz | Question 4

Last Updated : 18 Sep, 2020
Like Article
Like
Save
Share
Report

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


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads