I'm trying to convert a list of strings to an array of callable float numbers in Python, but I encounter an error. Here is a part of my code:
list=['1 2 3', '4 5 6']
for x in list:
x=float(x)
ValueError: could not convert string to float: '1 2 3'