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