1. Home
  2. Data Science
  3. Python
  4. Which of the following statements about tuples is true?

Added 4 May 2024

Which of the following statements about tuples is true?

  1. Tuples can be modified after creation.
  2. Tuples use curly braces {} for declaration.
  3. Tuples support duplicate elements. Correct answer
  4. Tuples can only contain integers.

Correct answer

C. Tuples support duplicate elements.

15 views

MCQSEXAM

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

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs