python print list as comma separated values code example Example: convert list to string separated by comma python converted_list = [str(element) for element in a_list]