First of all, let’s write down list and tuple syntax.
1 2 3 4
The minor differences between their syntax are square brackets  and
Basically tuples are fixed size whereas lists are dynamic. Get ready with your terminal.
1 2 3 4 5
Tuple consumes less amount of memory so it slightly boost up performance. Yes, just a little bit.
Let’s make it simple. List : Mutable Tuple : Immutable Let’s make it more simple.
1 2 3 4 5 6
Tuples or lists? It depends. But most of the time we use lists because of we can change it’s value. However, there are time when tuples are just handy.
1 2 3 4 5 6 7
Yes tuples can be used for string structures. Another usage of tuple is that we can use it as a key in dictionary. For instance you want to create a dictionary that holds longitute/latitude as key and place name as value, tuple will be good for key.
1 2 3 4
- Tuples are slightly faster than lists.
- Most of time we use lists instead of tuples due to its mutability.
- Tuples are great for string structure, dictionary key.