A bunch of very simple code snippets to write more elegant and understandable python code.
Timestamps:
0:00 - Intro
0:27 - match case
3:24 - ternary operator
5:44 - chain comparisons
7:15 - clamping values
11:10 - eval + exec
15:20 - dict.get()
17:14 - list flattening with sum()
Pastebin: https://pastebin.com/2gYZJXfQ