The simplest is to use Numpy's array method with the dtype=float option. For instance (using an array for simplicity): [code]import numpy as np a = [1, 2.3, ...
確定! 回上一頁