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