Some more technicalities:
• The keyword can be any (immutable) Python object. This includes:
– numbers
– strings
– tuples.
• Dictionaries are very fast in retrieving values (when given the key)
Another example to demonstrate an advantage of using dictionaries over pairs of lists:
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)