1. Home
  2. Data Science
  3. Python
  4. Which Python data type is immutable?

Added 20 Jan 2024

Which Python data type is immutable?

  1. List
  2. Dictionary
  3. Tuple Correct answer
  4. Set

Correct answer

C. Tuple

17 views

MCQSEXAM

Explanation

Tuples are immutable in Python, meaning they cannot be changed after creation.

Reference

Asked in: Python Certification

https://www.w3schools.com/python/python_tuples.asp

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