which is faster list or tuple
Answers
Answered by
1
Answer:
tuples because they are immutable
Answered by
1
Answer:
Tuple is stored in a single block of memory. Creating a tuple is faster than creating a list. Creating a list is slower because two memory blocks need to be accessed. An element in a tuple cannot be removed or replaced.
Similar questions