How are dictionaries different from Lists?
Answers
Answered by
11
Answer:
A list is an ordered sequence of objects, whereas dictionaries are unordered sets. However, 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 type of Python data. So, dictionaries are unordered key-value-pairs.
Explanation:
hope it is helpful for you
have a nice day
Answered by
0
Answer:
A list is an ordered sequence of objects, whereas dictionaries are unordered sets. However, 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 type of Python data. So, dictionaries are unordered key-value-pairs.
Similar questions