Similarity and Difference Between List & Tuple
☞Similarities :
1. Length-len()
2. Indexing and slicing
3. Membership operators
4. Concatenation and replication operators + and *
5. Accessing individual elements using index number
☞Differences :
1. Tuples are not mutable whereas lists are mutable
2. We cannot change individual elements of a tuple but lists allow you to do so.
L[i]=element
#valid in list
T[i]=element
#invalid in tuple