Original link: 4.7. match Statements / Python docs.
Python is over 35 years old. And for most of its history it did not have what in C style languages are known as a switchg statement. But with Python 3.10 (2021) then Python got the match statement.
Just saw a LinkedIn post about it. And many Python oldtimers may have missed it.