I have a list and string:
fruits = [\'banana\', \'apple\', \'plum\'] mystr = \'i like the following fruits: \'
How can I concatenate them s
You're going to have a problem if you name your variables the same as Python built-ins. Otherwise this would work:
s = s + ', '.join([str(fruit) for fruit in fruits])