►
Run
x = ['apple', 'banana', 'cherry'] result = '--'.join(x) print(result)
Output