mylist = [ '0.45', '6.7', '0.3'] mylist = list(map(float, mylist)) print(mylist) ####################OUPUT####################### [ 0.45, 6.7, 0.3]