Python (3.10+) switch case: Python (3.10+) switch case: * https://www.freecodecamp.org/news/python-switch-statement-switch-case-example/ It has a lot more features but the base is: Python1 2 3 4 5match item: case "abc": useAbc() case _: useDefault()