How To Write A Switch Statement In Python