[float(i) for i in lst] 确切地说,它将创建一个带有浮点值的新列表。 ... 我努力了: for item in list: float(item). 但这似乎对我不起作用。 python.
確定! 回上一頁