Skip to content

Commit 2255b48

Browse files
More info on Datatypes in Python
1 parent 4caa0cd commit 2255b48

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@ cstsffb = memoryview(bytes(7))
6868

6969
```
7070

71+
##### M= Mutable I=Immutable
72+
||| Python Datatypes |||
73+
|----------|----------|----------|----------|----------|
74+
| String| List| Tuple | Set |Dictionary|
75+
| I| M| I | M |M|
76+
|Ordered/Indexed |Ordered/Indexed|Ordered/Indexed |Unordered|Unordered|
77+
|Empty = "" |Empty = []|Empty=()|Empty= set()|Empty= {}|
78+
|Does Not Apply|any datatype= s,l,set, tuple, int, dict|any datatype= s,l,set, tuple, int, dict |cannot store list, set, dict|key can be str, int, tuple but val can be anything|
79+
7180

7281
## How to create A virtual Environment In Python
7382
```bash

0 commit comments

Comments
 (0)