If you want to turn an iterable into a string, use join().
join()
In the code above, I join elements in the list fruits using “, “.
fruits
Link to the source code.