The most pythonic way to convert a list of integers fs to a list of floats is to use the one-line fs = [float(x) for x in fs] .
確定! 回上一頁