@@ -29,7 +29,7 @@ string_var = 'ThatAIGuy'
29
29
30
30
### Lists
31
31
32
- ```` python
32
+ ``` python
33
33
list_var = [' Checkout' , ' ThatAIGuy' , ' .' , ' com' ]
34
34
```
35
35
> 1 . Sequence Data Structure.
@@ -41,7 +41,7 @@ list_var = ['Checkout', 'ThatAIGuy', '.', 'com']
41
41
42
42
### Tuples
43
43
44
- ```` python
44
+ ``` python
45
45
tuple_var = (' Checkout' , ' ThatAIGuy' , ' .' , ' com' )
46
46
```
47
47
> 1 . Similar to list but immutable.
@@ -50,7 +50,7 @@ tuple_var = ('Checkout', 'ThatAIGuy', '.', 'com')
50
50
51
51
### Set
52
52
53
- ```` python
53
+ ``` python
54
54
set_var = {1 , 11 , 0 , 1 , 2 }
55
55
```
56
56
> 1 . Unordered collection of items i.e. they can't be indexed
@@ -60,10 +60,10 @@ set_var = {1, 11, 0, 1, 2}
60
60
61
61
### Dictionary
62
62
63
- ```` python
63
+ ``` python
64
64
dict_var = {' key_1' : ' val_1' , ' key_2' : ' val_2' }
65
65
```
66
66
> 1 . Unordered collection of items i.e. can't be indexed
67
67
> 2 . Other compound data tupes have only values as an element, whereas a dictionary has a KEY: VALUE pair
68
68
> 3 . Keys are unique, values may not be unique
69
- > 4 . Values can be of any type , but key must be immutable
69
+ > 4 . Values can be of any type, but key must be immutable
0 commit comments