Head's Up: JavaScript is either turned off or not working properly in your browser. Some parts of this page may not work properly.
data = '''Alfa Bravo Charlie Delta Echo Foxtrot''' data_things = data.split("\n") line = ", ".join(data_things) print(line)
# Outputs Alfa, Bravo, Charlie, Delta, Echo, Foxtrot