Python 3.10 (2021) introduced the match - case statement which provides a first-class implementation of a "switch" for Python. For example:
確定! 回上一頁