[float(i) for i in lst]
# Use the function float() to turn a string into a float
string = '123.456'
number = float(string)
number
# Output:
# 123.456
numbers = ['1', '2', '3.2']
numbers = list(map(float, numbers))
string = "88.88"
print(float(string))
# output
# 88.88
>>> number='1.1'
>>> float(number)
1.1
num = "12.5464"
flt = float(num)