def appendList(items, prefix): out = [] for item in items: out.append(prefix + item) return out