this would probably work, right?
list = ["alex", "jack", "sam", "patrick"] output = "" for i in list: output += i + " " print(output)