python convert strin g to float code example Example: convert string to float python string = "88.88" print(float(string)) # output # 88.88