convert a string of integers `x` separated by spaces to a list of integers,x = [int(i) for i in x.split()]