What is the error??
Can you please explain.
The variable l which you are providing to the float() function is actually a python list. Meanwhile, float() function only accept a number or a numeric string.
How can i get numeric value??
You can fix it by passing the elements of the list one by one to the float function.