differentiate between list and dictionary in python
Answers
Answered by
3
list is mutable type meaning that lists can be modified after the have been created .
and
dictionary is a key value store. it is not ordered and it requires that the keys are hashable . it is fast for lookups by key .
and
dictionary is a key value store. it is not ordered and it requires that the keys are hashable . it is fast for lookups by key .
Similar questions