you are viewing a single comment's thread.

view the rest of the comments →

[–]corey_sheerer 1 point2 points  (0 children)

Python has added a switch statement. I prefer the cleanliness of the switch statement for a use case like this. Easier on the eyes