Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 17)
17.
What is the result of the expression (1, 2, 3) * 2?
(1, 2, 3, 1, 2, 3)
((1, 2, 3), (1, 2, 3))
[1, 2, 3, 1, 2, 3]
(2, 4, 6)
Answer: Option
Explanation:
The '*' operator repeats the elements of the tuple.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.