Question: are lists or dictionaries better in python?
Answer: Lists are ordered sets of objects, whereas dictionaries are unordered sets. But the main difference is that items in dictionaries are accessed via keys and not via their position. ... The values of a dictionary can be any Python data type. So dictionaries are unordered key-value-pairs.