This is a very weird behaviour.
Suppose I have a list such
A=['1.2', '2.565', '3.45']
If I I create the command A[1]=float(A[1])
the result is
A=[1.2, '2.565', '3.45']
Now if I ask
for i in range(len(A)):
A[i]=float(A[i])
the result is ValueError: could not convert string to float:
Do I do something forbiden ?