Which of the following data types is immutable in Python?

Options

  • A. List
  • B. Dictionary
  • C. Tuple
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. Tuple

Detailed Explanation

Tuple is immutable, whereas lists and dictionaries are mutable data types.