0
Is there a reason python does not have a statement like switch or case?
I miss the switch or case statement like in many other languages. Now you have use the if... elif....elif... else construction.
2 Antworten
+ 2
Python has if and elif which is identified with if and else if but it is much like the switch case and basically eliminates the need for one. I thought the same thing at first, but I have used the if/elif as effectively as I could a switch statement.
0
John you work as a coder for your profession?