Switch-Case Statements Are Coming to Python
The newest release shows the new logic
Published in
5 min readMar 19, 2021
Python 3.10 is beginning to fill-out with plenty of fascinating new features. One of those, in particular, caught my attention — structural pattern matching — or as most of us will know it, switch/case statements.
Switch-statements have been absent from Python despite being a common feature of most…