First time here? Check out the FAQ!
answered 2020-07-07 14:31:25 +0100
This works:
sage: A = ['1.2', '2.565', '3.45'] sage: A = [float(a) for a in A] sage: A [1.2, 2.565, 3.45]