Which of the following statements about tuples is true?
-
A
Tuples can be modified after creation.
-
B
Tuples use curly braces {} for declaration.
-
C
Tuples support duplicate elements.
Correct answer
-
D
Tuples can only contain integers.
Correct answer
C. Tuples support duplicate elements.
15 views
Explanation
Tuples can contain duplicate elements since they are ordered collections.
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ