1 2 3 4 5 6 7 8
def f(x: int) -> str: match x: case 1: return "One" case 2: return "Two" case _: return "Three"