About
collection in Python:
Data Type:
Type | Sequence (Ordered) | Mutable | Duplicate |
---|---|---|---|
Python - List | Yes | Yes | Yes |
Python - Tuple | Yes | No | Yes |
Python - Set | No | Yes | No |
Python - (Dictionary|Map) | No | Yes | No |
collection in Python:
Data Type:
Type | Sequence (Ordered) | Mutable | Duplicate |
---|---|---|---|
Python - List | Yes | Yes | Yes |
Python - Tuple | Yes | No | Yes |
Python - Set | No | Yes | No |
Python - (Dictionary|Map) | No | Yes | No |