Lista de cadenas de Python para flotar
[float(i) for i in lst]
Cruel Crane
[float(i) for i in lst]
numbers = ['1', '2', '3.2']
numbers = list(map(float, numbers))
# Use the function float() to turn a string into a float
string = '123.456'
number = float(string)
number
# Output:
# 123.456