colors = ['red', 'blue', 'green', 'yellow'] result = '' for s in colors: result += s print(result)
colors = ['red', 'blue', 'green', 'yellow'] result = ''.join(colors) print(result)