In Python the equivalent of switch statement is:
if condition: # do something elif condition: # do something else elif condition: # do another
Where is "switch" statement ? Do nobody needs it ?
|
|