how to turn a string onto a float code example
Example 1: convert string to float python
>>> number='1.1'
>>> float(number)
1.1
Example 2: convert string to float python
string = "88.88"
print(float(string))
# output
# 88.88
>>> number='1.1'
>>> float(number)
1.1
string = "88.88"
print(float(string))
# output
# 88.88