Starting with 3.10, Python also gets the pattern matching operator. Let's put it to use in an infix expression evaluator and see how much cleaner the code gets...
https://github.com/vercy/codecraft/bl...
CHAPTERS
0:00 Infix expressions
1:30 Writing the evaluator
3:57 Python pattern match