I have a file that consists of a single line:
a,x,b,c,d,e
I want to convert this into
a,x,b,x,c,x,d,x,e,x
Which is the easiest way to achieve this? A solution based on Python will be most helpful
Also supposing that this file is a csv file will python make the work easier?