1. Home
  2. Data Science
  3. Python
  4. Can you change the elements of a tuple after it has been…

Added 4 May 2024

Can you change the elements of a tuple after it has been created?

  1. Yes
  2. No Correct answer
  3. Only if it contains integers
  4. Only if it contains strings

Correct answer

B. No

16 views

MCQSEXAM

Explanation

Tuples are immutable, meaning you cannot change the elements once the tuple is created.

Doubts & discussion

Not sure why the answer is B? 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