0
Can we use switch directly in python!?
asked in class
2 Respuestas
+ 3
There is no switch statement in python.
But you can implement one using a dictionary, or 'if' statement.
+ 2
Here is an example:
https://code.sololearn.com/cgDM7PGd9zAz/?ref=app