figure - every application you create should include some means of detecting errant input no switch statementif you've worked with other languagesyou might notice that python lacks switch state ment (if you haven'tthere is no need to worry about it with pythondevelopers commonly use the switch statement in other languages to create menu-based applications the if elif statement is generally used for the same purpose in python howeverthe if elif statement doesn' provide quite the same functionality as switch statement because it doesn' enforce the use of single variable for comparison purposes as resultsome developers rely on python' dic tionary functionality to stand in for the switch statement describes how to work with dictionaries