Python Codes

‘switch’ Case in Python

[Note: This tutorials is for beginners only] Once you start programming in Python, very soon you encounter with the scenario that there is no direct support of switch case. The community has various alternatives for the purpose namely, Using dictionaries Using lambdas Using Exceptions and many others! For a beginner it is faster and easier… Continue reading ‘switch’ Case in Python