def Join(arr, sep = ' '): s = '' for i in arr[:-1]: s += i + sep return s + arr[-1]