human
In Python, how do I convert all of the items in a list to floats?
assistant
Here is some code to convert all of the items in a list `lst` to float

[float(i) for i in lst]

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.