DEV Community

Yesra Sajid
Yesra Sajid

Posted on

"Techniques"

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:

Top comments (0)