To nicely output a list you can use join function:
friends = ["John", "Ann", "Mark", "Deidre"] print(", ".join(friends)) # John, Ann, Mark, Deidre