Modern SyntaxWalrus (:=) & Structural pattern matching
All courses

Python 3.8+ and 3.10+ goodies

The walrus operator := assigns inside expressions — handy in loops and comprehensions.

match/case (3.10+) does structural pattern matching — like switch, but it read a book on functional programming.

Output
Press Run to execute your code.