Skip to content

Commit 85d5646

Browse files
committed
Minor changes in m05 and m07
1 parent 8708038 commit 85d5646

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

slides/content/m05_collections.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Find them all at [docs.python.org/3/library/stdtypes.html](https://docs.python.o
1616
## Lists 1/2
1717

1818
Lists hold multiple elements in a specific order.
19+
Unlike arrays, they can change in size at any time.
1920

2021
```py [|3-5|8-9|11|13-14|16-17|]
2122
# ./python/m05_list_operations.py#L1-L15

slides/content/m07_examples.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ else:
5050

5151
### What do we notice here?
5252

53-
- Python has no `switch` expression, you have to make a cascade of `if` / `elif` / `else` statements
53+
- Python has no `switch` expression, you have to make a cascade of `if` / `elif` / `else` statements \*
54+
55+
<small>\* Actually, if you are using **Python 3.10** or newer, there are the new `match` and `case` statements now.</small>
5456

5557
</div>
5658

0 commit comments

Comments
 (0)