Publisher review:Using a Dictionary in place of 'switch' statement script shows a clean way of implementing a 'switch' statement in Python via a dictionary container. This script shows a clean way of implementing a 'switch' statement in Python via a dictionary container. The dictionary is made up of known 'named states' that are tested in sequence for their current 'state'.
Using a Dictionary in place of 'switch' 1.0 is a Python script for Programming Methods and Algorithms scripts design by yaipa haa.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris