What is the difference between a Set and Dictionary?
Answer Posted / nashiinformaticssolutions
Iterable, mutable, and devoid of duplicate elements, the set is an unordered collection of data types.
Similar to a map, a dictionary in Python is an ordered collection of data values that are used for data value storage.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can you make a website with python?
Tell me what is docstring in python?
What is list when we have to use ?
Explain static class variables in python?
What is a static relationship?
Is there any equivalent to scanf() or sscanf()?
How does Python’s list.sort work at a high level? Is it stable? What’s the runtime?
What is difference between sort and sorted in python?
Explain about raising error exceptions?
What is the purpose of "self" in python
How do you use modulus in python?
What is the difference between numpy and scipy?
How ternary operators are used in python?
How do you run a python script?
Is empty function in python?