Question: what is the difference between lists tuples and dictionaries give an example for their usage?
Answer: A tuple or list stores simple elements of whatever data type is required. Tuples are immutable but elements in lists can be modified. ... As for dictionaries, stated simply a dictionary is a key-value data structure that can be used as an index, i.e. each element has a key and a value.