def Join(array, separator=" "): if not array: return "" s = array[0] for x in array[1:]: s =+ separator + x return s