Switch Case Arduino String To Float In Python