Switch Case Arduino String Functions In Python