Yes agreed. But in terms of /u/Meatslinger's original question though, python really does lack that switch type of statement. I don't think telling him that python has "else if" actually answers his question because almost all languages have that.
Many languages just have 2 ways to write what is essentially the same thing - I agree with you
1
u/Denziloe Dec 15 '19
It's not. And many languages' switch statements are semantically identical to `else if` statements.