Run
# Given a list my_list = ['apple', 'banana', 'cherry'] # Join elements in list with new line joined_str = '\n'.join(my_list) print(joined_str)
Output