Re:What Is the Switch-Case Equivalent in Python?
by roboticmind on Saturday April 03, 2021 @06:51PM
(#26685451)
I'm not sure that the second option is a very pythonic way to do it, but that's subjective of course. I'd imagine the original commenter views using a lot of ifs and elifs as the pythonic way to do it
[ Parent
| on HN ]
There are no comments on this comment yet.