How do I write switch statement functionality in Python?

I was curious to learn that like other programming languages (C++, Java) Python also facilitates switch statements or not. For this purpose, I researched and learned there is no direct equivalent of the switch statement in Python that is found in some other programming languages like C or Java. However, there are several alternative ways to achieve similar functionality. I found one approach that provides the functionality that the switch statement provides. Here is the approach below:

But this is one approach taken by one person or some. I believe everyone has tried to build their own approaches that are unique to developing switches in Python. If you have any alternative way of implementing switch statement functionality, share it with me.