I want to print a string multiple times on a line separated by spaces.

I've tried a few versions of string multiplication, like `string * 3`.
I've also tried `" ".join()` but I get spaces between every character instead of each string. I think join needs a list not a string.

Here is the verbose version of my code that works:
`fout.write(info[2]+" "+info[2]+" "+info[2]+'\n')`

And another version where I insert the letter x before each string:
`fout.write("x"+info[2]+" x"+info[2]+" x"+info[2]+'\n')`

My code works but it seems like there is a more pythonic way, like the version where I'm printing the whole list called info instead of just info[2] repeated:
`fout.write(" ".join(x)+'\n')` where x is the list.