Question d’entretien chez TCS

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

Réponse à la question d'entretien

Utilisateur anonyme

29 juill. 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.