EasyConceptPython
What is the difference between a list and a tuple in Python?
What a good answer covers
Lists are mutable and tuples are immutable, so tuples can be dictionary keys when their contents are hashable and signal fixed records.
PreviousA Spring Boot service is throwing OutOfMemoryError in production. How do you investigate?Next What is the GIL and how does it affect concurrency?