How to Convert a String to a Float in Python