a = '36, 160, 70, 110, 9, 21.833, 208, 119' b = [float(i) for i in a.split(', ')] print(b)