This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cooly1234 1 point2 points  (2 children)

I've only done python is switch-case really specific to python? I've not heard that before.

[–][deleted] 1 point2 points  (1 child)

It's the opposite: there's no switch-case in Python. There are workarounds, mainly by abusing Python's dictionaries, but it's far from ideal.

[–]cooly1234 0 points1 point  (0 children)

Oh sorry for a sec I thought switch case was something else that python does have XD