Run
x = [21, 14, 44, 8, 62] # Convert integer values to string values x = [str(value) for value in x] # Convert list to CSV string output = ','.join(x) print(output)
Output