I have such a list:
['S/M - Black', ' 93094-01']
It is the result of:
m['value'].split(',')[0:2:]
How can I produce such a string from it:
'S/M - Black, 93094-01'
I have tried:
print [i + ', ' + i for i in m['value'].split(', ')[0:2:]]
But it gives me:
['S/M - Black, S/M - Black', ' 93094-01, 93094-01']