Python versin of the switch statement with elif statment. More solutions to come.