PayPal · CS Fundamentals
Explain differences between Python list and tuple
TrueInterview
October 7, 2026 · 1 min read
What are the main differences between a Python list and a tuple?
Address:
- Mutability and what it implies
- High-level performance and memory trade-offs
- Common use cases
- Hashability and when a tuple can be used as a dictionary key
- One short code example that illustrates an important difference
Overview: Tests understanding of Python data structures—specifically lists versus tuples—by asking about mutability and its consequences, broad performance and memory differences, common use cases, and hashability when used as dictionary keys.
Loading comments…