Which of the following is true regarding the mutability of tuples in Python?

  • Tuples are immutable
  • Tuples are mutable
  • Tuples can be partially mutable
  • Tuples can be resized
Tuples are immutable in Python, meaning their elements cannot be changed after creation. However, they can contain mutable objects like lists.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *