def Join(arr, sep = ' '): if not len(arr): return '' ret = arr[0] for i in arr[1:]: ret += sep + i return ret