Use float(x) with item as x to convert item to type float . Append the converted item to a new list. a_list = ["1.2", ...
確定! 回上一頁