switch: match + case בפייתון

מאז גירסה 3.10 של פייתון שיצאה בשנת 2021 יש match/case בפייתון