Switch statements and dictionaries