how to add comma separator in array in python code example Example: convert list to string separated by comma python converted_list = [str(element) for element in a_list]