a = '36, 160, 70, 110, 9, 21.833, 208, 119'b = [float(i) for i in a.split(', ')]print(b)
Standard input is empty
[36.0, 160.0, 70.0, 110.0, 9.0, 21.833, 208.0, 119.0]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!