- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Difference between:
(List, Tuple, Set, and Dictionary)
List |
Tuple |
Set |
Dictionary |
Created using square brackets []. |
Created using round brackets (). |
Created using curly brackets {}. |
Created using curly brackets {}, with keys and
values. |
Changeable |
Unchangeable |
Unchangeable |
Changeable |
We can change, add and remove the values. |
We cannot change, add and remove the values. |
We can add and remove the values. |
We can change, add and remove the value. |
Allow duplicate values. |
Allow duplicate values. |
Not allow duplicate values. |
Not allow duplicate values. |
Indexed |
Indexed |
Unindexed |
Unindexed |
Ordered |
Ordered |
Unordered |
Ordered |
- Get link
- X
- Other Apps
Comments
Post a Comment