https://hackershare.dev/bookmarks/536881
Python 3.10 开始支持 switch 语法了