Python Programming - Tuples - Discussion

Discussion Forum : Tuples - General Questions (Q.No. 32)
32.
What is the result of the expression (1, 2, 3) + (4,)?
(1, 2, 3, 4)
((1, 2, 3), (4,))
[1, 2, 3, 4]
(1, 2, 3, (4,))
Answer: Option
Explanation:
The '+' operator concatenates the two tuples.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.