Pregunta de entrevista de TCS

What is the difference between a list and a tuple in Python?

Respuesta de la entrevista

Anónimo

29 jul 2025

I explained that a list is mutable and allows changes, whereas a tuple is immutable. I also mentioned that tuples are generally faster and more memory-efficient than lists.