def Join(arr, separ=' '): str_out = '' for i in arr: if arr.index(i) != len(arr)-1: str_out += i+separ else: str_out += i return str_out