+ 6

Is there support switch case option or not ?

11th Jul 2016, 8:18 PM
Suryaprakash Tiwari
Suryaprakash Tiwari - avatar
2 Answers
+ 5
no, you don't have the switch structure but you can find equivalent: for insurance using dictionary. See this discussion : http://stackoverflow.com/questions/60208/replacements-for-switch-statement-in-JUMP_LINK__&&__python__&&__JUMP_LINK
11th Jul 2016, 9:05 PM
samuel delepoulle
samuel delepoulle - avatar
0
I like to implement using dictionary in python.. which allows you to use lambda function in it too.
27th Dec 2016, 8:01 AM
harihara
harihara - avatar