guac
guacamole

posted 4 years ago

What is the Switch-Case Equivalent in Python? pakstech.com/blog/py...
What is the Switch-Case Equivalent in Python?
publisher
pakstech
date published
Saturday March 6th, 2021
summary
Historically, the Python syntax hasn’t had a switch-case statement. In 2006 Guido van Rossum, the original author of Python, proposed different alternatives for the switch-case syntax in PEP 3103 but they all seemed to have some problems and the idea didn’t gain enough popular support. The proposal was therefore rejected. Python version 3.10 changes this.