Saved Bookmarks
| 1. |
How are dictionaries different from Lists? |
|
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 youhave a nice day |
|