join float list into space-separated string in python,print(' '.join([str(i) for i in a]))