Robotics & Artificial Intelligence

Which of the following is a mutable data type in Python?

  1. Strings
  2. Tuples
  3. Lists
  4. Integers

Python Funda

3 Likes

Answer

Lists

Reason — Lists in Python are mutable, meaning their elements can be altered, added, or removed after the list is created. Strings, tuples and integers are immutable in Python.

Answered By

1 Like


Related Questions