Sollicitatievraag bij TCS

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

Antwoord op sollicitatievraag

Anoniem

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.