What are differences between list and dictionary in python?
Answer / Ratnesh Mani Tripathi
A list is ordered and mutable, while a dictionary is unordered and mutable. Lists store items as elements in a sequence, whereas dictionaries store key-value pairs.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to you make a python script executable on unix?
Explain delegation in python
How is “self” explicitly defined in a method?
How do you make use of arrays in python?
If given the first and last names of bunch of employees how would you store it and what datatype?
What is loop in python?
Is list iterable in python?
Can we change tuple values? If yes, give an example.
What is Python Set?
What is super () in python?
How will you compare two lists?
What is a sequence in python?