GK Question

technology easy true_false

In Python, lists are mutable while tuples are immutable.

  1. True
  2. False

Answer: True

Lists ([]) can be modified after creation: append, remove, change elements. Tuples (()) cannot be changed once created, making them hashable and usable as dictionary keys. Immutability provides safety for fixed data, while mutability offers flexibility for dynamic collections. Choosing appropriately improves code correctness and performance.

Topic Programming Logic
Exam Relevance SSC JE, Banking IT, Railway