TCS interview question

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

Interview Answer

Anonymous

Jul 29, 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.