Skip to content

Commit ed5898b

Browse files
authored
Update README.md
1 parent a87e884 commit ed5898b

File tree

1 file changed

+5
-5
lines changed
  • Module 1 - Python Programming/02. Data Structures

1 file changed

+5
-5
lines changed

Module 1 - Python Programming/02. Data Structures/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ string_var = 'ThatAIGuy'
2929
3030
### Lists
3131

32-
````python
32+
```python
3333
list_var = ['Checkout', 'ThatAIGuy', '.', 'com']
3434
```
3535
> 1. Sequence Data Structure.
@@ -41,7 +41,7 @@ list_var = ['Checkout', 'ThatAIGuy', '.', 'com']
4141
4242
### Tuples
4343

44-
````python
44+
```python
4545
tuple_var = ('Checkout', 'ThatAIGuy', '.', 'com')
4646
```
4747
> 1. Similar to list but immutable.
@@ -50,7 +50,7 @@ tuple_var = ('Checkout', 'ThatAIGuy', '.', 'com')
5050
5151
### Set
5252

53-
````python
53+
```python
5454
set_var = {1, 11, 0, 1, 2}
5555
```
5656
> 1. Unordered collection of items i.e. they can't be indexed
@@ -60,10 +60,10 @@ set_var = {1, 11, 0, 1, 2}
6060
6161
### Dictionary
6262

63-
````python
63+
```python
6464
dict_var = {'key_1': 'val_1', 'key_2': 'val_2'}
6565
```
6666
> 1. Unordered collection of items i.e. can't be indexed
6767
> 2. Other compound data tupes have only values as an element, whereas a dictionary has a KEY:VALUE pair
6868
> 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

Comments
 (0)